Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I modify a form created by a Wizard?
Message
 
À
24/05/1999 13:55:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00222148
Message ID:
00222208
Vues:
16
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform