Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mirror tables
Message
From
18/05/2007 16:59:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01226963
Message ID:
01226970
Views:
17
>Is is possible to mirror tables in VFP ?
>
>I mean, to create an exact copy of the table and uptade, all the time ?

You might use triggers, to copy to another table.

However, I would recommend to do an audit trail, instead of mirroring. That allows you to take a table at a specific point in time, and then go back or forward, to the desired point.

See my introductory article on audit trail, at www.utmag.com. For an audit trail, you will have to make some adaptations, to make the result machine-readable. But you should also be able to adapt the ideas presented in the article, to do your replication (mirroring).

HTH,

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