General information
Category:
The Mere Mortals Framework
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only