Gilly400
23625 pts. | Dec 4 2008 9:52AM GMT
Hi,
Before updating a record you will need to read or chain that record to position the file pointer in the program to the correct record in your file. You can use READ, READE, READP, REDPE/READPE, or CHAIN.
Regards,
Martin Gilbert.
Philpl1jb
24105 pts. | Dec 4 2008 2:03PM GMT
And it’s one update per acquisition of the record
The chain, read, reade, readp, readpe lock the record
The update unlocks the record
So if your code goes:
Chain
CheckFld1
Update
CheckFld2
Update
The second update would fail whenever the record was updated and unlocked in the first instance.
Phil
CodeMonkey65708
10 pts. | Apr 14 2009 7:10PM GMT
Question - are any of the fields you are updating part of the key?






