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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading the array number from a combo box

Status
Not open for further replies.

rickyoswald

Programmer
Jun 12, 2004
59
0
0
GB
How do I read the currently selected array number of a combo box? i.e. if I have the 4th item selected the array value would be '3'. I thought it was cboBox(x)... but have been told to use cboBox.item(x) however the only property I can find similar to that is .itemdata (which does not work).
 
Always - Always, Always ALWAYS check (rs.eof and rs.bof) when moving the record pointer...

And yes, delete will move the record pointer. As will opening a recordset...

mmilan.
 
Okay Mmilan I think you are onto somthing. I have to tidy up my code. I'll get on it tommorow (18th birthday stuff right now).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top