Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare two tables
Message
From
05/10/1999 11:14:54
 
 
To
05/10/1999 09:32:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00272677
Message ID:
00272726
Views:
20
As far as the logging idea goes, I would suggest putting a trigger on that table that automatically fires any time a record is updated/inserted/deleted. It could put in info such as user id, datetime stamp, old value, new value, etc.

I have done this before on an entire database, storing the table name as well. It works really well, and has also saved my butt a couple times when I was able to actually recreate the database after issuing some not so well thought out commands (like zap).

Instead of actually physically deleting records through my app, I put a deleted field in each table and tracked them that way. It makes it easier to track.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform