Error "deleted key is not found"
Richard Tartaglia
fp_rich at yahoo.com
Thu Aug 24 08:53:52 PDT 2006
Hope all is well with everyone.
FP 5.0.14 , Windows
I am attempting to write an auto posting table.
A person in my files may have many records or just 1.
Some of those records may be posted as paid and some
not.
Index B is sorted on the name, field(1), and date paid
field(2). When typing a persons name you will see the
unpaid records first because the payment date is
blank.
When standing on a record, key P activates the table
with @keyP processing.
@keyp : '@keyP
:
:nm(60)=1 ' set name
:
post :lookup test k=nm I=B -nx
:not test
:input popup yn "There is a problem"
:not test
:end
:test(1)=nm and test=""
:test(2)=@t4 ; test(40)=Test(44)'date amount
:
:write test
:
:goto post
:
:end
This works for until it gets to the last unpaid record
and I get an error
Deleted key is not found
Index = test/index.B
Key="Bean Mark J "
Recno=1
tptr=2,1,2,1,0
I have never seen this error before and I am so good
at this I thought I had seen them all.
I think it is because I am looking up the record with
the same index I am using for the lookup.
Any help would be appreciated so I can get back to
playing with my toys.
Thanks
Rich Tartaglia
More information about the Filepro-list
mailing list