Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing
Message
 
À
31/07/2001 07:29:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00537681
Message ID:
00537832
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Can anyone tell me how i can programmatically compare two table structures to ensure that they are the exact same...?

If the tables are empty, one way would be:
SELECT table1
SCATTER NAME oTable1

SELECT table2
SCATTER NAME oTable2

? COMPOBJ( oTable1, oTable2 )
The reason they need to be empty is because if they have different values it will return .F. Otherwise, if everything is the same, returns .T.
HTH,
John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform