Hey,
If you use the combo box wizard to look for a record in your form, be sure to add an entry to the form's OnCurrent event to synchronize the record on your form with the combo box so that as you scroll through your records, your combo box follows along.
Add this line to the form's On Current event:
cboName = RecordID
where cboName is the name of your combo box, and RecordID is the primary key field name of the records on your form. You need to place the pk on the form, but you can hide it by setting it's properties to Visible/No.
I also use another method that involves a combo box and button to look up records on a form when I am using a SQL back end or a large Access database on a network in order to keep traffic down. But this wizard works well for most Access apps.
mmcdonal
|