Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get erased record
Message
From
09/08/2006 18:53:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/08/2006 15:46:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01144287
Message ID:
01144333
Views:
16
>I have a table with normal record an erased record. The is a way to get only the erased record in a select command ???

Yes, you can put SET DELETED OFF, and then
select ... where deleted()
However, you should not do this on a regular basis. A deleted record should be considered as "gone" - either you keep a record, or you delete it. If you need to keep a record (for example, a financial transaction), have a separate field called, for instance, "cancelled".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform