Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parse list of tables for tableupdate in a form
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Parse list of tables for tableupdate in a form
Miscellaneous
Thread ID:
00841420
Message ID:
00841420
Views:
49
I would like to have a property on my form that lists a number of tables that need tableupdated or tablereverted at various times. The property would be parsed to create the tableupdate statement. Maybe an array property on the form...

mytables[1]

thisform.init:
thisform.mytables[4] && redeclare it to meet current needs
thisform.mytables[1]='table1'
thisform.mytables[2]='table2'
thisform.mytables[3]='table3'
thisform.mytables[4]='table4'

Parse the array to create this...

tableupdate(.t.,.t.,thisform.mytables[1]) and tableupdate(.t.,.t.,thisform.mytables[2]) etc...


Is there a better way to accomplish what I want to do?
Next
Reply
Map
View

Click here to load this message in the networking platform