Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating form when combo box is changed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00503574
Message ID:
00503587
Vues:
17
>I have created a form that is populated from the INIT event. The objects on the form are populated from a temp cursor. I have a combo box on the form that is populated by a column in the table. This way the user can choose a different requirement...when they do, I want it to refresh the whole screen to reflect the data from the new record that was selected. I have tried putting Thisform.Refresh() in the Interactive Change event of the Combo Box as well as in the Valid and LostFocus events. None of these seem to be refreshing the screen.
>
>Could someone shed some light on this subject for me...
>
>Thanks!

I'll need to know how the cbo is populated from a column. Based on that there may be several solutions to get the result you want but basically it amouts to grabbing the recno() in the interactivechange of the cbo then select the cursor go record then refresh the form.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform