Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mirror tables
Message
De
18/05/2007 16:59:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01226963
Message ID:
01226970
Vues:
16
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform