W
WC Justice
I have an Access 2000 database that currently uses a combo box to populate
information about an existing party into a new record. I first check to see
if that party is already in the database via the combo box; if it is, I
select it, if not, I key the new party's info in. I have changed the combo
box to a list box, which hides the PartyID and then shows a concotonation of
LastName, FirstName, then a column of more specific identifying info in case
there are two parties with the same first and last names.
I would like to be able to begin typing in the LastName texbox and have vba
highlight the first matching record at the top of the list box, enabling me
to select another record, if appropriate, to execute the update code. For
example, if I have 5 Smiths, I would like to type only "Smi", have all 5
Smiths appear at the top of the list box, and still be able to select the
3rd Smith.
Is this possible? If so, please advise.
Thanks
information about an existing party into a new record. I first check to see
if that party is already in the database via the combo box; if it is, I
select it, if not, I key the new party's info in. I have changed the combo
box to a list box, which hides the PartyID and then shows a concotonation of
LastName, FirstName, then a column of more specific identifying info in case
there are two parties with the same first and last names.
I would like to be able to begin typing in the LastName texbox and have vba
highlight the first matching record at the top of the list box, enabling me
to select another record, if appropriate, to execute the update code. For
example, if I have 5 Smiths, I would like to type only "Smi", have all 5
Smiths appear at the top of the list box, and still be able to select the
3rd Smith.
Is this possible? If so, please advise.
Thanks