Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Action Every Interval
Message
From
25/04/2002 19:04:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00648415
Message ID:
00649413
Views:
15
> ...
>The other thing I get with an Int is multiple states of deletion. In my last job, we needed to have undelete capability for a table. So I just added a state of "2" in the iDel column for things that were deleted but subsequently recalled. The table relationships were pretty complex, so I didn't want to create a complete mirror image of the table with just "undeleted" rows. I just added the "2" value and a child table with a little undelete-related info and I was moving.
> ...

OK, it seems you have some additional options that are not included in the built-in mechanism. Just don't forget that an index on the iDel column will give you the same problems (slow fetching over the network) as an index on deleted(). Unless you use a workaround to specifically disable the index on a specific query.

Hilmar.
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