Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing Public Variables When Form Runs
Message
De
27/06/1999 08:54:09
 
 
À
25/06/1999 18:18:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00231160
Message ID:
00234466
Vues:
30
Hi Stacy

>Have you tried using...
>
>use table customer
>scatter name ocustomer
>
>This will create an object based on the current record of the table that can be referenced in the OOP world as follows:
>
>to access a field from ocustomer object, use ocustomer.first_name etc...
>

my problem was pretty simple, I thought I'd declared public variables but hadn't(that bit of code wasn't run in the sequence I'd expected)

Having said that, I didn't know about the 'scatter name' trick so that made it worth the correspondence!

Thanks

Harry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform