D
David S. Calef
I use combo boxes frequently, but always to look up a record from another
table.
Now I am using a table where I use a combo box for the indexed Name. I do
an Add Record command button. Then I start typing the Name in the combo
box.. If the Name doesn't exist, I add it to the new record just fine. But
if the record does exist, it doesn't fill out the rest of the form with the
data for that name.
What I want to do is go into the name box, start typing and either have it
jump to an existing name and record or start a new record for a new name.
Can someone outline how that is done.
Previously I have used a kludgey separate combo box to see if the name
exists and jump to if. If not, I then hit the add button which exists the
combo without jumping to a record, and then the new blank record pops up.
While it works, I have to think there is a better way.
table.
Now I am using a table where I use a combo box for the indexed Name. I do
an Add Record command button. Then I start typing the Name in the combo
box.. If the Name doesn't exist, I add it to the new record just fine. But
if the record does exist, it doesn't fill out the rest of the form with the
data for that name.
What I want to do is go into the name box, start typing and either have it
jump to an existing name and record or start a new record for a new name.
Can someone outline how that is done.
Previously I have used a kludgey separate combo box to see if the name
exists and jump to if. If not, I then hit the add button which exists the
combo without jumping to a record, and then the new blank record pops up.
While it works, I have to think there is a better way.