Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parse list of tables for tableupdate in a form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Parse list of tables for tableupdate in a form
Divers
Thread ID:
00841420
Message ID:
00841420
Vues:
50
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform