Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Lookup combo requery problem
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement