Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Property Arrays
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Class Property Arrays
Miscellaneous
Thread ID:
00002472
Message ID:
00002472
Views:
89
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
Next
Reply
Map
View

Click here to load this message in the networking platform