I'm trying to create a simple database that inputs work orders into a table through a form.The table is then queried various ways for different reports. The info is entered into a form with a work order field, a schedule date and a check box for various types of orders.The information is going fine into the table, although the value of each check box if checked is -1, and I'm not sure if that will complicate any calculations that I try and perform. And that is where my problem lies, I'm trying to get a total number of orders for a range of dates for each particular type of order. I would think this is fairly simple, and it probably is for someone who actually knows what they are doing.
Anyhow, I'm trying to get information from a table that looks like this:
WORKORDER STATUS DATE BASIC EXBASIC SILVER
5011 complete 06-12-03 -1 0 0
5012 complete 06-12-03 0 -1 0
5013 complete 06-12-03 -1 0 0
5014 complete 06-20-03 -1 0 0
5015 open 06-20-03 0 0 -1
etc,
to show up in a query/report by the amount of complete orders through the dates of 6/12-6/20
STATUS BASIC EXBASIC SILVER
complete 3 1 0
At least that is how I need to see it in the report. After that I need to find how to multiply the respective orders under each column by a price amount and add all the
price amounts together for a grand total. i.e,
basic's price is $5, so 3x5 gives the total of $15, plus the total for exbasic and silver
in a grand total on the report.
I hope I explained everything without it being to convuluted. If anyone can give me some help I would be extremely appreciative. I know I'm asking for a lot of information, so even just a part would be very helpful. I understand how to do the basic query,just not how to
total it all up. When I try to Sum them up in the query, it gives me a total for each date, not all the dates put together. But I have to have the dates in there to get the
correct range. Once again, I thank you, my wife thanks you, and the brick wall I've been pounding my head into in thanks you.
Michael
Anyhow, I'm trying to get information from a table that looks like this:
WORKORDER STATUS DATE BASIC EXBASIC SILVER
5011 complete 06-12-03 -1 0 0
5012 complete 06-12-03 0 -1 0
5013 complete 06-12-03 -1 0 0
5014 complete 06-20-03 -1 0 0
5015 open 06-20-03 0 0 -1
etc,
to show up in a query/report by the amount of complete orders through the dates of 6/12-6/20
STATUS BASIC EXBASIC SILVER
complete 3 1 0
At least that is how I need to see it in the report. After that I need to find how to multiply the respective orders under each column by a price amount and add all the
price amounts together for a grand total. i.e,
basic's price is $5, so 3x5 gives the total of $15, plus the total for exbasic and silver
in a grand total on the report.
I hope I explained everything without it being to convuluted. If anyone can give me some help I would be extremely appreciative. I know I'm asking for a lot of information, so even just a part would be very helpful. I understand how to do the basic query,just not how to
total it all up. When I try to Sum them up in the query, it gives me a total for each date, not all the dates put together. But I have to have the dates in there to get the
correct range. Once again, I thank you, my wife thanks you, and the brick wall I've been pounding my head into in thanks you.
Michael