Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing Public Variables When Form Runs
Message
De
20/06/1999 19:36:28
 
 
À
20/06/1999 18:40:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00231160
Message ID:
00231959
Vues:
16
>What occurs here is that an object is created with no exposed methods and one collection. Each item in the collection represents a field which can be referenced as oRecord.xxxxx where xxxxx is the same as the relative field name. When changes are to be saved you may "Gather name oRecord memo".
>
>The exact syntax from the VFP help file is:
>
>GATHER FROM ArrayName | MEMVAR | NAME ObjectName
> [FIELDS FieldList | FIELDS LIKE Skeleton | FIELDS EXCEPT Skeleton]
> [MEMO]
>
>
>
> This technique does not require memory variables other than the object reference.
>

Neat. Certainly improves on my present code

Thanks

Harry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform