Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted records problem, Again!
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00049672
Message ID:
00049829
Views:
71
>Ed,
>As I said originally, I did try putting SET DELETED command everywhere, including the Init method of the form but it doesn't work. Actually, I've found out you must put the command in the BeforeOpenTable method of the DE in order for this to work. Thanks anyway.
>
>John
john,

Actually it will work iin the Init of the form. SET DELETED does nothing to the record pointers, so if your DE opens the table and places the pointer on the deleted record and then in your Init you turn deleted on, the pointer is still on that record. The solution is in the Init you can;

SET DELETED ON
LOCATE && Moves to the first valid record
Previous
Reply
Map
View

Click here to load this message in the networking platform