Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding array property
Message
 
To
26/03/2000 19:53:32
Ian Johnston
Computer Software Solutions
Woodland, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00350575
Message ID:
00350592
Views:
19
Ian,
Fred had the right information. However often you don't know the exact dimensionsof the array. If that's the case, then add the array as "MyArray(1)" and use the DIMENSION command to resize the array when you know how much data to put into it.

Another point that many of us have stumbled over: If you are populating the array with a SQL-Select statement, you can't call the form property as the array in the SELECT statement. You need to write the array to a variable SELECT ..... into array aMyTemp and then use aCopy() to copy the array into the form property. Don't forget to redimension the form array first.

HTH
Barbara

>How do you add an array as a property to an object when building a class ?
>
>TIA
>
>Ian
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform