Accessing Recordset for Data Control
Posted on 2002-06-24
I have a dbCombo box that uses the objAcctInfo1 datacontrol. I want to be able to select a name from the combo box and then when I press a button, it will set the variable strTitle1 to the Title for that name in the database...my problem is that when I debug this code it is always at the first record of the recordset, not at the record I need. I just need to know how to move the pointer to the record I need...what would I add to this code to do that? It would need to point to the record where cboName = the Name field in the objAcctInfo1 data control recordset.
strTitle1 = ![Title]