Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a better routine to update tables
Message
From
29/03/1998 22:38:19
 
 
To
28/03/1998 14:40:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00087930
Message ID:
00088009
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform