|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can't assign value to combo box
I have a combo box whose RowSource is some SQL. When the form opens I want the combo box to display a value assigned by some code.
I have tried the following me.Combo = strMyValue AND me.Combo.Column(0) = strMyValue But the combo box displays -1 instead of the value I am trying to assign. Any ideas? Thanks Mike Collard |
|
#2
|
|||
|
|||
|
Snowsride,
I found this in another forumn Me.ListboxName.RowSourceType = "Value List" ' Type of source Me.ListboxName.RowSource = strList ' Final string For each record you add to strlist put a ; between them strlist = strlist & ";" & Next value S- |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Can't assign value to combo box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|