I'm creating a database to track the cost of material damaged in my aluminum plant. Eventually reports will be made to track each department's errors, the type of errors, which job/customer they are assigned to, and so on. I also need to generate a list of adjustments to make out of my inventory software, which unfortunately has no import feature, so i will be using printed reports.
My problem is some of my adjustments will be for a part which exists in its raw, full length form (each) and other adjustments will be by the foot (feet).
These units of measure exist in a field calld UOM in a table made from a linked excel spreadsheet from my inventory software. This table is arranged as follows:
WinSysPart | Description | UOM | UnitCost
Another table is filled with a form that matches paperwork used on my production floor:
PRIMARY KEY | PARTNUMBER | LENGTH | QUANTITY | DEPARTMENT | TYPE OF ERROR...AND SO ON
The PARTNUMBER form box is restricted to the List "WinSysPart" so only real numbers exist
I would like it to be impossible to enter a length if the unit of measure is "EACH"; only allowed if UOM is "FEET"
I've tried the IIF( DLOOKUP function but I'm having trouble. I'm probably missing something very stupid, but help would be apprecitated.
Bookmarks