I keep getting the error message text property is read only, everytime i change my combo box from 0-combo box to 2-dropdown list. I only have one record in my main table and it has the correct option that is listed in the other table that the options are coming from. here is my code:
Private Sub LoadStatus()
With rstblStatus
Do Until .EOF
cbostatus.AddItem !Status
cbostatus.ItemData(cbostatus.NewIndex) = !id
.MoveNext
Loop
End With
End Sub
cbostatus is connected to a seperate table. SOes anyone know what might be causing this error? It works with the 0 option but I don't want the users to be able to type anything outside of the table in.
Thanks
Private Sub LoadStatus()
With rstblStatus
Do Until .EOF
cbostatus.AddItem !Status
cbostatus.ItemData(cbostatus.NewIndex) = !id
.MoveNext
Loop
End With
End Sub
cbostatus is connected to a seperate table. SOes anyone know what might be causing this error? It works with the 0 option but I don't want the users to be able to type anything outside of the table in.
Thanks