Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major Combo Box Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00027554
Message ID:
00027916
Views:
35
>>Tom, I'm being lazy & not testing this, but will data NOT in the Select curor really show in the combo if you put the Select statement in the INIT? Sure it will if the controlsource data for the first record IS in the Select cursor, but that's not what Richard asked. I've only been able to get this data to show if I'm using an array or additem type source for the combo data.
>
>Barbara
>
>Gonna may me work, heh? (s)
>
>This is the code from my cboDataLU base class init():
>
>this.rowsource = ;
> 'select &lcLUFields ;
> from &lcLUTable ;
> &lcSQLWhere ;
> into cursor &lcLUCursor ;
> order by &lcLUKeyField'


I think we're talking about 2 different things tonight. Or maybe I need more coffee....

Look, I like to see you work for a change (if copy/paste can be considered work ;-) This code will load the combobox from a table, but the combo STILL shows a blank if the actual data in the controlsource field isn't in your cursor.

I can't make data NOT in the combo's data show UNLESS the combo is loaded with an array or additem().

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform