Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on multiple lookup comboboxes.
Message
From
06/03/2002 18:18:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Question on multiple lookup comboboxes.
Miscellaneous
Thread ID:
00629306
Message ID:
00629306
Views:
64
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
Map
View

Click here to load this message in the networking platform