Problem with AddItem
Posted on 2008-02-07
I'm attempting something that should be very simple, but is turning out not to be. Here's the line that works:
where "Solution_Description" is a large string. cboSolutions. is a standard combo box.
I've decided I want to add the ID in to the index field of the combo with each string entry, so I tried:
cboSolutions.AddItem rsCase("Solution_Description"), rsCase("Solution_ID")
where "Solution_ID" is an integer. It didn't like this at all. I expermented by putting a straight integer in the second field, and by putting a string literal in the first field after that.
What am I missing?