Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array in a do form command
Message
From
15/09/2006 11:56:42
 
 
To
15/09/2006 11:47:35
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01154149
Message ID:
01154160
Views:
11
The following works for me...

public array MyArray(2)
MyArray(1) = "marc"
MyArray(2) = "levesque"

do form MyForm with MyArray

in MyForm.Init
parameters taArrayTest
external array taArrayTest

messagebox(taArrayTest(1)) && dispaly 'marc'
messagebox(taArrayTest(2)) && display 'levesque'
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform