Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Array from a class
Message
 
To
27/11/2003 11:37:56
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00854029
Message ID:
00854056
Views:
30
This message has been marked as the solution to the initial question of the thread.
Add an array property to your class (Class Menu, Add Property and use brace to make it an array, ie. MyArray[1,1] let's say).

Then the clause INTO ARRAY of your SQL-SELECT should be INTO ARRAY This.MyArray

The array will be resized, like most commands do in Visual Foxpro. You can access it like any other array in your code afterwards MyObject.MyArray(i,j)

Bonne fin de Jeudi (de paye hopefully ;) )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform