Hello, I am designing a database for a tank trailer repair shop and need a bit of guidance on how to structure my tables.
At a high level, the user will input a Work Order# and all relevant info into a parent form (customer, PO#...etc). They will then choose tasks on a subform (changed shocks, brakes, etc...). After adding the task, they will then need to assign location, vehicle side and compartment#.
My current structure works from a normalization standpoint (AFAIK), but I can't figure out an elegant way to setup the subforms for entering tasks and assigning locations.
Here is an example of what the data would look like in a spreadsheet:
Vehicle Side, Compartment and Location are all pulled from lookup tables and stored in a junction table for task details. This allows a task to be assigned many sides, locations etc...
The Quote Tasks table is where the individual tasks will be stored. There will be many tasks per work order, each with many locations etc...
The trouble is more from a UI/UX standpoint. I have a single form for selecting tasks, and a continuous form to assign locations and sides to the task. Ideally, I would have a continuous form for entering tasks, with a continuous subform for locations and such. Access doesn't allow this, so I don't really know how to elegantly design this form structure.
At a high level, the user will input a Work Order# and all relevant info into a parent form (customer, PO#...etc). They will then choose tasks on a subform (changed shocks, brakes, etc...). After adding the task, they will then need to assign location, vehicle side and compartment#.
My current structure works from a normalization standpoint (AFAIK), but I can't figure out an elegant way to setup the subforms for entering tasks and assigning locations.
Here is an example of what the data would look like in a spreadsheet:
Task | Vehicle Side | Compartment | Location |
Replace Shock | Left | Axle 1 | |
Replace Shock | Left | Axle 2 | |
Replace Shock | Right | Axle 1 | |
Replace Valve | Front | 1 | |
Vehicle Side, Compartment and Location are all pulled from lookup tables and stored in a junction table for task details. This allows a task to be assigned many sides, locations etc...
The Quote Tasks table is where the individual tasks will be stored. There will be many tasks per work order, each with many locations etc...
The trouble is more from a UI/UX standpoint. I have a single form for selecting tasks, and a continuous form to assign locations and sides to the task. Ideally, I would have a continuous form for entering tasks, with a continuous subform for locations and such. Access doesn't allow this, so I don't really know how to elegantly design this form structure.