Hi Everyone,
Not sure if I did this correctly but I could really use some help ,thank you in advance! I apologize for writing a "book" but I think I need to explain what I'm doing in order for you to provide me with the help I need.
I am using access to try to automate a vending machine business. It's a small company but big enough that doing everything using Excel and manually is no longer an option. So I've started using Access. I've been able to do some things that have really helped my daily work routine but now I'm getting into more complicated tasks and I need assistance.
Part 1
I have a table called Machines. This table keeps track of multiple things.
1. Machine ID a unique number assigned to every single vending machine.
2. Truck (1, 2, 3) - we have three trucks out filling machines.
3. Fill Week/Day - this is where things get complicated and I need help.
We operate on a week/day system (A Week, B Week) / (Day 1, 2, 3, 4). Most machines are straight forward, they are filled either A or B week and on a particular day. However, we have some machines that are more complicated. For example some are filled both A and B week others are filled both A and B Week and on Day 1 and Day 4.
So I had to figure out a way to keep track of all this. I wrote out multiple ways to do this and finally I came up with a system of A1, A2, A3, A4, B1, B2, B3, B4. This is now how I identify the week and day the machine is being filled. My next problem was how to track it in access. Because it's a complicated system I cannot just have one column to track the "week" or the "day" that a machine is filled because some are filled more often. I tried a couple of different ways but ended up using Yes/No boxes. So I now have eight columns of Yes/No boxes in my Machines table and I have put a check in the box if the machine is filled that week/day.
Based on all this info, I was able to query by truck each day they filled a machine. So, though not "pretty" it worked.
Next I created a new table called Route Order. I would query by truck and then by the week/day that the machine was filled. I then sat and entered the order (numeric value 1, 2, 3 etc..) that we fill each machine. Again - I have no idea if I did this correctly, but it works.
But now I'm stuck. And before I go any further I need to figure out if I need to start over/redo the things above or if going forward is reasonable.
I need to now start keeping track of the amount of money each machine brings in. I figured I could created a basic form that can gather information easily from the user to pass to a query. So I created a basic form using option boxes:
Truck 1, Truck 2, Truck 3
A Week - Day 1, A Week - Day 2, etc..
Now I am really stuck. I cannot "pass" the information to a query because they are Yes/No boxes and I have 8 columns.
HELP - what would you suggest? I really appreciate all ideas. Thank you!
Not sure if I did this correctly but I could really use some help ,thank you in advance! I apologize for writing a "book" but I think I need to explain what I'm doing in order for you to provide me with the help I need.
I am using access to try to automate a vending machine business. It's a small company but big enough that doing everything using Excel and manually is no longer an option. So I've started using Access. I've been able to do some things that have really helped my daily work routine but now I'm getting into more complicated tasks and I need assistance.
Part 1
I have a table called Machines. This table keeps track of multiple things.
1. Machine ID a unique number assigned to every single vending machine.
2. Truck (1, 2, 3) - we have three trucks out filling machines.
3. Fill Week/Day - this is where things get complicated and I need help.
We operate on a week/day system (A Week, B Week) / (Day 1, 2, 3, 4). Most machines are straight forward, they are filled either A or B week and on a particular day. However, we have some machines that are more complicated. For example some are filled both A and B week others are filled both A and B Week and on Day 1 and Day 4.
So I had to figure out a way to keep track of all this. I wrote out multiple ways to do this and finally I came up with a system of A1, A2, A3, A4, B1, B2, B3, B4. This is now how I identify the week and day the machine is being filled. My next problem was how to track it in access. Because it's a complicated system I cannot just have one column to track the "week" or the "day" that a machine is filled because some are filled more often. I tried a couple of different ways but ended up using Yes/No boxes. So I now have eight columns of Yes/No boxes in my Machines table and I have put a check in the box if the machine is filled that week/day.
Based on all this info, I was able to query by truck each day they filled a machine. So, though not "pretty" it worked.
Next I created a new table called Route Order. I would query by truck and then by the week/day that the machine was filled. I then sat and entered the order (numeric value 1, 2, 3 etc..) that we fill each machine. Again - I have no idea if I did this correctly, but it works.
But now I'm stuck. And before I go any further I need to figure out if I need to start over/redo the things above or if going forward is reasonable.
I need to now start keeping track of the amount of money each machine brings in. I figured I could created a basic form that can gather information easily from the user to pass to a query. So I created a basic form using option boxes:
Truck 1, Truck 2, Truck 3
A Week - Day 1, A Week - Day 2, etc..
Now I am really stuck. I cannot "pass" the information to a query because they are Yes/No boxes and I have 8 columns.
HELP - what would you suggest? I really appreciate all ideas. Thank you!