Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need a better routine to update tables
Message
De
29/03/1998 22:38:19
 
 
À
28/03/1998 14:40:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00087930
Message ID:
00088009
Vues:
26
>I use a fairly simple routine to update tables in my forms, but it has a problem. Basically, the routine looks for all tables with #5 buffering, checks to see if changes are pending, and puts the list of tables to update into an array. Then I tableupdate each table in the array. But I sometimes get an RI conflict because the tables are in no particular order. Is there generic code I can use to reorder the array by checking the RI rules?
>
>Thanks
>-Adam

Why don't you load your array in code at design time in the order that you want. IN the form.init or whatever method you choose, you could populate the array with the tables in the order that you want them to be updated in.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform