General information
Category:
Forms & Form designer
Title:
Parse list of tables for tableupdate in a form
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only