Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View Array from a class
Message
 
À
27/11/2003 11:37:56
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00854029
Message ID:
00854056
Vues:
29
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 ;) )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform