Firstly can I thank you for reading this and helping in anyway you can.
I have 2 tables (below), I am trying to find the best/correct way to return the desired results. I work for a small printers . I have been set a task to create (what I thought would be relatively simple) a database that will show what paper we are using on what jobs etc. This should be straight forward (I thought) as we only have a handful of different stocks/paper that we use and purchase a similar amount each month.
We get a delivery of paper, say a pallet with 18000 sheets, which could be used on numerous jobs. The process would be: on delivery of any stock it is labelled with the PO_Number, and the database is updated of what has been delivered to us. Then, as and when any operator uses the stock they would simply look at the label, and enter to the DB how much they have used, job number, stock type, size, and the PO Number and GSM(Weight) being the important ones. . What I would like is to create a report showing what quantity is remaining of any stock type, and what it had been used on?
I have 2 tables as below.
IN_TBL
IN_ ID
DATE_OF_ORDER
QUANTITY_IN
SHEET_SIZE
GSM
PO_IN
OUT_TBL
OUT_ID
DATE_OF_USAGE
QUANTITY_USED
JOB_NUMBER
PO_OUT
PO_IN
I am confused as to if I should try and create queries and relationships to retrieve the results or to do a calculation within the report fields somehow.
Again thank you for any advice you can give. It really is much appreciated.
Jo
I have 2 tables (below), I am trying to find the best/correct way to return the desired results. I work for a small printers . I have been set a task to create (what I thought would be relatively simple) a database that will show what paper we are using on what jobs etc. This should be straight forward (I thought) as we only have a handful of different stocks/paper that we use and purchase a similar amount each month.
We get a delivery of paper, say a pallet with 18000 sheets, which could be used on numerous jobs. The process would be: on delivery of any stock it is labelled with the PO_Number, and the database is updated of what has been delivered to us. Then, as and when any operator uses the stock they would simply look at the label, and enter to the DB how much they have used, job number, stock type, size, and the PO Number and GSM(Weight) being the important ones. . What I would like is to create a report showing what quantity is remaining of any stock type, and what it had been used on?
IN_TBL
IN_ ID
DATE_OF_ORDER
QUANTITY_IN
SHEET_SIZE
GSM
PO_IN
OUT_TBL
OUT_ID
DATE_OF_USAGE
QUANTITY_USED
JOB_NUMBER
PO_OUT
PO_IN
I am confused as to if I should try and create queries and relationships to retrieve the results or to do a calculation within the report fields somehow.
Again thank you for any advice you can give. It really is much appreciated.
Jo