Greetings from Bosnia!
I started working on a "make my job easier" project.
I have 30 machines, running 24/7, producing various products, and I
have to have some stats about these machines, for example:
INPUT DATA FOR EACH MACHINE:
- product name that machine is currently producing
- order #
- date of production start
- time of production start
- date of production stop
- time of production stop
- number of produced pieces
- buyer
- remarks
- machine currently running (yes/no)
- ammount of product ordered
- delivery term
REQUESTED OUTPUT
- how long was each machine running (in hours/minutes) for a specific product that
it was producing (query by name/product code)
- total working hours of a specific machine
- listing of busy/free machines
- most used machine
- most produced product
- busyest hours/days/months
Question:
How should I make the DB for this project:
1. a table for each machine
2. one table for all machines (~400 fields!!!)
3. any suggestions?
Right now I have:
1 table for every machine (30 total),
1 form for every machine (30 total),
1 main form with buttons representing each machine (30 buttons)
1 table for this main form with machine/button state (green/red - working/available)
This whole system works fine now, but, I'm having the following problems:
When oppened, how to have the form always display the last viewed record?
how to combine the data from 30 tables (if my solution nr 1 - see above - is right),
without bogging down the whole system - access freezes?
Thank you for your tips in advance,
Best regards.
I started working on a "make my job easier" project.
I have 30 machines, running 24/7, producing various products, and I
have to have some stats about these machines, for example:
INPUT DATA FOR EACH MACHINE:
- product name that machine is currently producing
- order #
- date of production start
- time of production start
- date of production stop
- time of production stop
- number of produced pieces
- buyer
- remarks
- machine currently running (yes/no)
- ammount of product ordered
- delivery term
REQUESTED OUTPUT
- how long was each machine running (in hours/minutes) for a specific product that
it was producing (query by name/product code)
- total working hours of a specific machine
- listing of busy/free machines
- most used machine
- most produced product
- busyest hours/days/months
Question:
How should I make the DB for this project:
1. a table for each machine
2. one table for all machines (~400 fields!!!)
3. any suggestions?
Right now I have:
1 table for every machine (30 total),
1 form for every machine (30 total),
1 main form with buttons representing each machine (30 buttons)
1 table for this main form with machine/button state (green/red - working/available)
This whole system works fine now, but, I'm having the following problems:
When oppened, how to have the form always display the last viewed record?
how to combine the data from 30 tables (if my solution nr 1 - see above - is right),
without bogging down the whole system - access freezes?
Thank you for your tips in advance,
Best regards.