General information
Category:
Forms & Form designer
>>I have a ComboBox with
>>RowSourceType=2
>>RowSource=cursorname (cursor created in Form.Load)
>>BoundColumn=1
>>DisplayValue=2
>>
>>When I choose an item in the list, the value of the box doesn't change. I have tried in the InteractiveChange event putting This.Value=cursor.fieldvalue
>>Any suggestions on what I'm doing wrong?
>
>Two questions:
>1. What is is ControlSource? 2. What's the idea to have DisplayValue=2 ?
I did get this straightened out. I simply changed the order of the fields in my cursor, changed BoundColumn=1, and Reset DisplayValue to Default.
I usually use the builder for ComboBoxes, but being that the builder doesn't support RowSourceType of 2, I had to do this one by hand. A first I might add. The problem I usually have with these is when I need the ComboBox to display a value from a field other than the first. BoundColumn and ControlSource never seems to be a problem, but it's the display properties that get me...
Thank you, Ed.
Previous
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