Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing Public Variables When Form Runs
Message
From
27/06/1999 08:54:09
 
 
To
25/06/1999 18:18:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231160
Message ID:
00234466
Views:
29
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
Previous
Reply
Map
View

Click here to load this message in the networking platform