I am at a loss on how to develop tables pertaining to a procedure.
In my table (we'll call it tblProcedure), I have a Date field, which is never duplicated so it is the primary key. Other fields include: Time, Shift, Auditor. On a particular date, I could have a non-compliance on a Form, which has different non-compliances (i.e. NoForm,NoName,NoList). I could also have a noncompliance on an Order, which also has different non-compliances (i.e. NoDate, NoTime, NoLoad).
In my form, I want to be able to choose which noncompliances have occurred for the Form and/or for the Order. There could be zero noncompliances; there could be 3 noncompliances.
In my report, I want to be able to group on Date, then Order or Form (grouping each separately if both have noncompliances). The noncompliances will be listed under each group, whether it be Order or Form or both. I might need to do a Union query to combine data from all of the noncompliances into one field on the report.
I am so confused how to set up my tables!! I think I have thought about this so much that I have now hit a brick wall with my ideas...
Please, help!!!
Rgds,
Kmkland
In my table (we'll call it tblProcedure), I have a Date field, which is never duplicated so it is the primary key. Other fields include: Time, Shift, Auditor. On a particular date, I could have a non-compliance on a Form, which has different non-compliances (i.e. NoForm,NoName,NoList). I could also have a noncompliance on an Order, which also has different non-compliances (i.e. NoDate, NoTime, NoLoad).
In my form, I want to be able to choose which noncompliances have occurred for the Form and/or for the Order. There could be zero noncompliances; there could be 3 noncompliances.
In my report, I want to be able to group on Date, then Order or Form (grouping each separately if both have noncompliances). The noncompliances will be listed under each group, whether it be Order or Form or both. I might need to do a Union query to combine data from all of the noncompliances into one field on the report.
I am so confused how to set up my tables!! I think I have thought about this so much that I have now hit a brick wall with my ideas...
Please, help!!!
Rgds,
Kmkland