Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with combobox in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01421603
Message ID:
01421616
Views:
76
This message has been marked as a message which has helped to the initial question of the thread.
Check How to Put a Combo Box in a Grid as Presented by Marcia G. Akins at GLGDW 2000 at http://www.tightlinecomputers.com/Downloads.htm

>I have a grid, whose record source is a cursor that contains a numeric field (nDayOfWeek) representing the day of the week (i.e. the number returned by DOW() ). The Day column of the grid has nDayOfWeek as the control source, and I added a combobox whose row source is a list of values corresponding to the CDOW() values.
>
>The problem is that I'm drawing a blank on how to get an unselected cell to properly display the verbal day of week instead of the stored numeric value. I tried using an expression in the control source in combination with an array, but then the combobox wouldn't drop down any values when selected.
>
>Any help would be appreciated. :)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform