Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lookup combo requery problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Lookup combo requery problem
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01449302
Message ID:
01449302
Vues:
253
All:

I have a form with several lookup combos whose row source and type are set in their init() as selects from a "table of tables" with a code and description. There is no code in the Requery(). All OK.

On one of the cbo controls I placed code in the RightClick() to call a maintnance form for the "table of tables"

This (not modal) maintenance form loads OK, I make a change on the description field, close the form, offers to save, accept the save, back to the cbo.RightClick() code, where I call This.Requery()

Nothing changes. I drop the cbo and it is the same.

When I run the form again, the new description appears OK.

Running with the debugger shows that the non-modal form is called, and the bebugger stops on the call to the requery(). I make the change on the modal form and close it. I step the requery(), which has no code, and stop on the next line. Looking at the cursor that the select generates does show the new description, so it appears that the default action on the requery() did occur, but the combo is not changed.

What am I missing?

Do I need to move the select code into the requery()?

Thanks,

Al Allison
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform