Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form array property vs many properties?
Message
De
02/02/2008 12:23:31
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
02/02/2008 12:20:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01288030
Message ID:
01288510
Vues:
17
>>>>>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.
>>>>
>>>>FYI, you can make the form adopt the datasession of the calling form thereby giving it complete access to the data in the calling form. No need to pass anything around. Even faster that way.
>>>
>>>I have never used datasession in my application and don't want to change my "framework" to learn and implement it.
>>>
>>>Thank you for your suggestion.
>>
>>I'll never admit to not wanting to learn or not wanting to change.
>
>I do. I am driven (motivated) by business ($), learning new things is very secondary. If I win a big lottery tomorrow, I will never open VFP or any other software tool (I would buy a Mac and use it for email only).

So am I. I now make better money and I don't put people lives at risk because I use faulty techniques.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform