bcooler
Programmer
- Jun 13, 2009
- 132
I have a form that I created to be a "maintenance" form that allows upper level users to add/delete/modify recalls and the associated serial numbers. I was successful making the form tell me what serial numbers are associated with an existing recall. However, due to a large number of serial numbers for a given recall, I don't want to force the user to type all of the serial numbers on new recalls. I'd like to allow the user to cut and paste serial numbers into the form (from Excel maybe) and have this add to the form/supporting table. I think this would be easy with the current setup except for one problem:
The serial number is not the primary key, but the forms record source requires it. I'm imagining I need some type of lookup to take other pasted info (maybe a combo of the part number, serial number, etc) and reverse lookup the primary key so it can be placed into the form/underlying table.
Any thoughts? I thought some type of Dlookup or query would help, but I'm not sure. THANKS!!!
The serial number is not the primary key, but the forms record source requires it. I'm imagining I need some type of lookup to take other pasted info (maybe a combo of the part number, serial number, etc) and reverse lookup the primary key so it can be placed into the form/underlying table.
Any thoughts? I thought some type of Dlookup or query would help, but I'm not sure. THANKS!!!