General information
Category:
Coding, syntax & commands
Title:
Trouble with combobox and numeric control source!
Environment versions
Network:
Windows 2003 Server
I have a combobox on my form with the following properties set:
.BoundColumn = 2
.BoundTo = .T.
.ControlSource = m.pbenefit
.RowSource = pplans.desc, benefit
.RowSourceType = 6
.ColumnCount = 1
The field benefit is numeric (hence the .BoundTo = .T.) as is m.pbenefit. However, when I select an item from the list, although m.pbenefit is set to the correct value, the DisplayValue of the combobox gets wipes out making it look as though nothing was selected.
If I set .BoundTo = .F., then I just get the item's index rather than its numerical value when I select an item from the list.
Any ideas?
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