Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COMBO BOX blues
Message
 
To
05/07/2002 16:56:32
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00675761
Message ID:
00675765
Views:
9
>Hi guys:
>
>I really feel stupid, I never use a combo box in a grid, but my current project has to have it that way.
>
>I, for the love of mike, can't get the stupid thing to work.
>
>The combobox has a record source of driver.drivername C(6), driverid I, and set to sparse = .F., 2 columns, 150,0 width. The grid column needs to display the drive name, which it does just fine. But when I click on the combobox, the display value goes blank, the currently dipslay value is not selected and when I select an item, it displays until I move form the row, then reverts back to the original value.
>
>I am missing some fundamental concept here. Can you help?

Hi,
In such a case, I usually use two fields in GrodRowSource. The first one is character field (in your case c(6). It is used for combos control source. The second one is the actual ID. It is not shown in Grid and is filled on combos Interactive change event.
Venelina Jordanova

Outsourcing IT Services Ltd.
Previous
Reply
Map
View

Click here to load this message in the networking platform