Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening file
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00059867
Message ID:
00060187
Views:
26
>>Anyone can help me on this:
>>
>>1. In fp 2.6, I open my database and initialise my variables in setup. In VFP 5.0, where do I do that?
>>
>>Many thanks
>>
>>From Samuel
>
>There are many ways to do this, here are some:
>
>- Place your tables in the Data Environment and define your variables in the Load Event.
>- Open your tables in your startup program.
>- Define your variables as properties in your form.

Samuel, in addition to Benn's suggestions look into Data Buffering. Using buffering means you don't have to initialize variables for the fields you are editing as the data in the tables isn't updated until you tell the buffer to save the data. MUCH easier than scatter/gather or individual field variables.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform