Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form array property vs many properties?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01288030
Message ID:
01288045
Views:
14
This message has been marked as the solution to the initial question of the thread.
>I need to load a bunch of data (from a table) into a form INIT method (total number of values is no more than 10). I am considering loading this data into an array property of the form. Or add each data value as a property of the form (using thisform.addproperty(...))
>
>Which approach is better in terms of memory use? I think speed-wise (because VFP is so fast) it be much different. Any other things I need to take into consideration?

What about
Thisform.AddProperty("oProp", "Empty")
SELECT mytable
SCATER NAME Thisform.oProp
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform