My databse consists of entering Job Information for a packaging company.
The information that needs to be known for each job is:
Job Info
Board Info
Lining Info
Wrap Info
Corrugated Info
Outside Purchases info
Stampin info
etc.
All this information needs to be printed out on a report that we call a JOB BAG.
I have tables for each one of the previously mentioned categories.
I also have forms for each one of them.
all tables are connected by The JobName.
In other words the JobName is what identifies that a particular board related to a particular Job.
The way i approached this report was to use the Job Table for the Header of the report which should appear on both pages of the JOB BAG.
Then i used sub-reports to place the other infor (board,linings, wraps, corrugated, etc) on the report.
I have to major problems with it right now.
One is that it is giving me 1152 copies of each job and i am pretty sure that it is because of my SQL statement in the record source of the report.
Here is a copy.
SELECT Job.*, Board.*, Linings.*, Wraps.*, Corrugated.*, CheckList.*, [Outside Purchases].*, Stamping.*, CuttingDies.*, Blocks.*, StampDies.*
FROM StampDies INNER JOIN (Blocks INNER JOIN (CuttingDies INNER JOIN (Stamping INNER JOIN ([Outside Purchases] INNER JOIN (CheckList INNER JOIN (Corrugated INNER JOIN (Wraps INNER JOIN (Linings INNER JOIN (Job INNER JOIN Board ON Job.JobID & " " & Job.JobName=Board.JobName) ON Linings.JobName=Job.JobID & " " & Job.JobName) ON Wraps.JobName=Job.JobID & " " & Job.JobName) ON Corrugated.JobName=Job.JobID & " " & Job.JobName) ON CheckList.JobName=Job.JobID & " " & Job.JobName) ON [Outside Purchases].JobName=Job.JobID & " " & Job.JobName) ON Stamping.JobName=Job.JobID & " " & Job.JobName) ON CuttingDies.JobName=Job.JobID & " " & Job.JobName) ON Blocks.JobName=Job.JobID & " " & Job.JobName) ON StampDies.JobName=Job.JobID & " " & Job.JobName;
Another problem that i need help fixing is that It will not only show 1152 copies of each JOB BAG but it will put all of them on the same report.
So if i have 3 job bags in the database i will get 1152 x 2(pages per job bag) x 3 (job bags) pages total.
I was thinking of maybe having another a form with a drop down menu with all the jobs and have the user pick the job and the report for that job will print out.
Please help me with this.
thanks
Juan
The information that needs to be known for each job is:
Job Info
Board Info
Lining Info
Wrap Info
Corrugated Info
Outside Purchases info
Stampin info
etc.
All this information needs to be printed out on a report that we call a JOB BAG.
I have tables for each one of the previously mentioned categories.
I also have forms for each one of them.
all tables are connected by The JobName.
In other words the JobName is what identifies that a particular board related to a particular Job.
The way i approached this report was to use the Job Table for the Header of the report which should appear on both pages of the JOB BAG.
Then i used sub-reports to place the other infor (board,linings, wraps, corrugated, etc) on the report.
I have to major problems with it right now.
One is that it is giving me 1152 copies of each job and i am pretty sure that it is because of my SQL statement in the record source of the report.
Here is a copy.
SELECT Job.*, Board.*, Linings.*, Wraps.*, Corrugated.*, CheckList.*, [Outside Purchases].*, Stamping.*, CuttingDies.*, Blocks.*, StampDies.*
FROM StampDies INNER JOIN (Blocks INNER JOIN (CuttingDies INNER JOIN (Stamping INNER JOIN ([Outside Purchases] INNER JOIN (CheckList INNER JOIN (Corrugated INNER JOIN (Wraps INNER JOIN (Linings INNER JOIN (Job INNER JOIN Board ON Job.JobID & " " & Job.JobName=Board.JobName) ON Linings.JobName=Job.JobID & " " & Job.JobName) ON Wraps.JobName=Job.JobID & " " & Job.JobName) ON Corrugated.JobName=Job.JobID & " " & Job.JobName) ON CheckList.JobName=Job.JobID & " " & Job.JobName) ON [Outside Purchases].JobName=Job.JobID & " " & Job.JobName) ON Stamping.JobName=Job.JobID & " " & Job.JobName) ON CuttingDies.JobName=Job.JobID & " " & Job.JobName) ON Blocks.JobName=Job.JobID & " " & Job.JobName) ON StampDies.JobName=Job.JobID & " " & Job.JobName;
Another problem that i need help fixing is that It will not only show 1152 copies of each JOB BAG but it will put all of them on the same report.
So if i have 3 job bags in the database i will get 1152 x 2(pages per job bag) x 3 (job bags) pages total.
I was thinking of maybe having another a form with a drop down menu with all the jobs and have the user pick the job and the report for that job will print out.
Please help me with this.
thanks
Juan