Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing tables when navigating
Message
 
À
17/05/1999 17:46:39
Paul Wyett
Resource Link Software
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00219818
Message ID:
00219862
Vues:
21
Welcome to the limited world of wizards, Paul.

Do the Wizard Nav buttons actually change the table to a pre-set value? Or do they store a value somewhere and always SELECT that value?

Either way, you can change the code in the class (please subclass first) to NOT select any table. Then you will navigate through the active table.

Or, you can store the 'active table' in a form property, changing it as you move through your form. Use this property to make sure you have the correct table active before calling your new, subclassed, non-specific nav buttons.

HTH
Barbara


>I have a form with 5 tables in the data environment and am trying to get the navigation buttons in the wizard class library to navigate a different table than the parent.
>
>The form has a set of command buttons that are used to choose which table is to be updated, and I can get the information from each table to apear in the edit boxes as the different command buttons are selected and save to the proper tables as well. However, when I use the buttonset to attempt to navigate the records it will not scroll through the records as it is not refering to the table that was selected with the command button. How do I get the buttonset to point to the proper table? I can hard code the table name into the class code and make it work, but then of course I can only select whichever table has been coded.
>
>I am fairly new to foxpro but I am sure there must be a way to get this done. Any help would be appreciated...
>
>Paul Wyett
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform