Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I modify a form created by a Wizard?
Message
 
To
24/05/1999 13:55:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222148
Message ID:
00222208
Views:
17
Brad,
You've just discovered some of the problems caused by using Wizard code. In your case, the easiest way is to store the active table name in a form property. In the Click() method for the navigation buttons add a command to SELECT the correct table.

Then, call the original click() code with DODEFAULT() (if you're using VFP5) or with the :: operator if you're using VFP3.

HTH
Barbara


>I have used the Form Wizard to create a Form. I want to add a control to select one of two similar tables for the form to work on.
>
>This works fine except that every time one of the navigation buttons created by the wizard is used, the original table is accessed.
>
>How can I fix this?
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform