B
Bill R via AccessMonster.com
My users often use other applications (Excel, proprietary apps on the server,
etc.) to do their work. They work with drawings that have numbers
("123XYZ45678") as identifiers. They are used to using a cmd button that
opens the ctl F find dialog and then pasting the # in there to find the
drawing.
I have a combo box on a form to find drawings by drawing number in my db.
It's a common technique. It's rowsource is a query that returns a key id,
drawing #, and title. The 1st field is hidden and is used as the value to
search for in the field "txtDwgKey". When users type in a dwg # it works fine.
The code executes and finds the key id in txtDwgKey and goes to the record.
However, if they copy the drawing # ("123XYZ45678") from Excel or something,
and paste it into the combo and hit enter, nothing happens. I would like to
give them the same functionality using my combo box as they have using Ctl F.
How do I make that work?
Bill
etc.) to do their work. They work with drawings that have numbers
("123XYZ45678") as identifiers. They are used to using a cmd button that
opens the ctl F find dialog and then pasting the # in there to find the
drawing.
I have a combo box on a form to find drawings by drawing number in my db.
It's a common technique. It's rowsource is a query that returns a key id,
drawing #, and title. The 1st field is hidden and is used as the value to
search for in the field "txtDwgKey". When users type in a dwg # it works fine.
The code executes and finds the key id in txtDwgKey and goes to the record.
However, if they copy the drawing # ("123XYZ45678") from Excel or something,
and paste it into the combo and hit enter, nothing happens. I would like to
give them the same functionality using my combo box as they have using Ctl F.
How do I make that work?
Bill