Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox.Text ???? 1

Status
Not open for further replies.

fheyn

Programmer
Mar 22, 2001
198
DE
A combobox-item read from database should be shown as
'selected'.
I tried ComboBox.Text=rs!ID but this causes an error.
Any ideas ?
thanks in advance
 
Guessing but is the error "text property is read only" if so the dropdown style is set to 2 and requires the item to actually be in the list...

Matt
 
hi Matt
thanks for the response
it's just like you say, but the item IS in the list since
it originally came from the combobox.
 
sorry Matt,
since I use rs.Fields, I used the wrong index for this field.
everything works fine !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top