Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Property Arrays
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Class Property Arrays
Divers
Thread ID:
00002472
Message ID:
00002472
Vues:
87
I am using an SQL-SELECT INTO ARRAY to populate a class property array defined as aAddress[1,1] in the class library. I want the array to size to the relevant no. of records (seems reasonable) by redimensioning the array to 'fit' the correct number of rows (I count them before the SELECT). I then use this in a cbo. This code is in the class' INIT.
HOWEVER the array will not change shape, and stays at whatever I define it to be in the base class (eg [5,7]).
I have tried putting the code in different methods in case the init is redimensioning the array to its parent default but cannot get it to work. Any thoughts?
So much to learn, so little time
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform