Snappy2873
Programmer
Hello,
I'm currently working on a Access XP Db that needs input validation. I've got a Main form for Shop orders and then a subform that deals with defects associated to the shop order in question. This subform is basically a column view of the ShopOrderDefects table. The operator has the ability enter information into the following columns:
DefectCode Part No DefectLocation Qty JDECode
RIPL 600958 Shell 1 DF?
(Dropdown) (text) (text) (text) (text)
Since there are many defect codes and part numbers to a shop order, is it possible to create an event procedure that would populate the "JDECode" text field with the appropriate alphanumeric code according to the "DefectCode" selected from the dropdown? I've got about 50 "DefectCodes" with a "JDECode" associated to it. Can this be done in the "OnInsert" or "AfterInsert" event?
Any reccomendations would be greatly appreciated.
Thanks and have a nice day!
snappy
I'm currently working on a Access XP Db that needs input validation. I've got a Main form for Shop orders and then a subform that deals with defects associated to the shop order in question. This subform is basically a column view of the ShopOrderDefects table. The operator has the ability enter information into the following columns:
DefectCode Part No DefectLocation Qty JDECode
RIPL 600958 Shell 1 DF?
(Dropdown) (text) (text) (text) (text)
Since there are many defect codes and part numbers to a shop order, is it possible to create an event procedure that would populate the "JDECode" text field with the appropriate alphanumeric code according to the "DefectCode" selected from the dropdown? I've got about 50 "DefectCodes" with a "JDECode" associated to it. Can this be done in the "OnInsert" or "AfterInsert" event?
Any reccomendations would be greatly appreciated.
Thanks and have a nice day!
snappy