Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if a delete command worked
Message
From
03/07/2003 14:21:00
 
 
To
03/07/2003 12:20:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00806075
Message ID:
00806673
Views:
18
I don't see anything wrong with your code, but not knowing what the Do Loop is, it's hard to know if it's the most efficient way of handling it. I presume you are not looping through the entire table doing this, so as far as I can tell, it looks ok.

Alan

>Thanks to every one who replied. I think that since I only need to know if a record is marked for deletion the simplest solution is (code is in a do loop)
>
>DELETE NEXT 1 FOR pireq.creqno = lcReqNo IN pireq
>llDeleted = DELETED('pireq')
>IF NOT llDeleted
>   llOk = .F.
>   EXIT
>ENDIF
>
>Code that checks to see status of LLOK.
>
>Please point out any problems with this approach.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform