Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you Pack a Cursor
Message
From
07/11/2012 04:50:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/11/2012 13:42:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01556496
Message ID:
01556567
Views:
67
>Actually, I would never ever Set Deleted Off again, NEVER. There's no good reasons for ever "recalling" deleted records, deleted records should be treated as if they are gone forever, as they are in "real" SQL. My personal favorite with VFP tables, is to add a logical field which I call Reusable. Instead of deleting records, I replace reusable with .T.

On one project where I cooperated with Steven Black, we had a table where record had expiration time, which was about an hour or two (yes, web stuff). The datetime field was called something like "expires", and if you found a record where expires < datetime(), it was reusable.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform