Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Deleted and Views
Message
From
15/12/1998 15:31:44
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00167838
Message ID:
00167846
Views:
20
Hi Mark ---

Hmmm....I find that in a simple SELECT * FROM table with SET DELETED OFF, the records which are deleted in the base table show up in the query cursor without the deleted mark set. I guess the trick would be to set a property in the form called GetDeletedRows or something like that and make the view parameterized.


>VFP6: Have a local view of a table. In a form I have a grid with this view as the source. I want the view to include deleted records, so I have SET DELETED OFF when I open or requery the view. HOWEVER, in the view the delete marker is not present on the deleted records. So setting deleted back on does no good because all records now display.
>
>If I leave deleted ON all the time, the view correctly excludes previously deleted records. If I delete a record in the view, all is well.
>
>Why is this? TIA!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform