Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using array collection
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00478195
Message ID:
00478257
Views:
22
>In my program I am alway filling up my array in the following manner:
>
>select * from sometable into array somearray
>
>I have heard that you can create a collection that contains an array. Is this true, and if so how do you create and access the values?
>
>Thanks
>Nick Patel

A collection is an array of objects. I think what you are refering to is an array property. You can add an array property to a form using the "Form->Add Property" menu option then type in the name of the property followed by "[1]". This denotes an array then you can do stuff like:

select myfield from mytable into array myform.myarray
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform