Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Question on multiple lookup comboboxes.
I created a Lookup table and business object with a parameterized view, so that it creates cursors for any lookup type I request.
I dropped a combobox on a form, with rowsource= 'lookup.value, key', set boundcolumn 2 and controlsource 'address.addresstype'. Everything worked fine.
So I did it again, setting controlsource to a different table and field. Expecting trouble, I used a second bizobj but FoxPro got unhappy with me and some duplicate view names.
Right now, I'm looking into making GotFocus requery the view in order to keep each combobox straight. The comboboxes are sometimes showing blank values on init and/or refresh though. I'm a bit concerned that putting the code into the Refresh will slow things down too much.
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