Dee
asked on
How to tell if record returned from seek is marked for deletion?
How do I tell if a record returned from a seek command is marked for deletion?
-------------------------- ---------- ---------- -------
set safety off
SELECT scrubFile
INDEX ON PRRecno TAG PRRecno
USE PullFile EXCL
SCAN ALL
*-Search the Scrubfile based on Pullfile.PRRecno = Scrubfile.PRrecno
IF SEEK(PRRecno, 'scrubFile')
>> I need to add a condition here:
&& if the scrubfile row found is not marked for deletion
&& Process the Pullfile record
&& else
&& delete the pull file record
&& endif
ENDIF
ENDSCAN
*- Pack both tables
--------------------------
set safety off
SELECT scrubFile
INDEX ON PRRecno TAG PRRecno
USE PullFile EXCL
SCAN ALL
*-Search the Scrubfile based on Pullfile.PRRecno = Scrubfile.PRrecno
IF SEEK(PRRecno, 'scrubFile')
>> I need to add a condition here:
&& if the scrubfile row found is not marked for deletion
&& Process the Pullfile record
&& else
&& delete the pull file record
&& endif
ENDIF
ENDSCAN
*- Pack both tables
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are welcome!
ASKER
I was so close. Single quotes to the rescue!
Lol.
Thank you