Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form array property vs many properties?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Form array property vs many properties?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01288030
Message ID:
01288030
Views:
59
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?

Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform