Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADDOBJECT
Message
De
15/09/1999 12:03:39
 
 
À
15/09/1999 11:55:53
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00264974
Message ID:
00265026
Vues:
35
Hi Steve,

I am assuming the gsMyCursor() gets populated before the FOR myx...construct?Try the following (your code, modified) if that is the case

Dime gsMyCursor(5)
For myx = x To ALEN(gnTables)
With ThisForm.DataEnvironment
cCursor=gsMyCursor(myx)
.AddObject(cCursor, "cursor")
.&cCursor.DataBase="c:\MyFolder\Apps\Church Books\churchdata.dbc"
.&cCursor.CursorSource = gaTables(myx)
.CloseTables()
.OpenTables()
EndWith
Next myx

Let me know if this works.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform