Hi All!
I have created a project tracking db for a business unit at work. They use the db to track each project's details, as well as info from three categories (equipment, stock and labour). In the background of the db, I have calculations for the month-end reports that take the equipment, stock and labour usage as input by the users, and spits out the total cost for the project.
Unfortunately, I just ran the month-end reports, and noticed that not every project is being accounted for in the report. I know that this is happening because if no records for that project exist in the subform, then it is not being picked up in the query. Then when I combine the three categories in a query, it only grabs the projects where they all have the project number in common.
So, I'm trying to figure out a way to have at least one record for each category that is equal to 0 to ensure that it will be captured in the query/report.
Db Structure includes:
frmProject: includes project details on main form and on Tab 1. Subforms for Equipment, Stock and Labour on Tabs 2, 3, and 4 in a datasheet view as there may be multiple pieces of equipment, etc. being used for each project.
Master Field
- Project Job Number (YY-MM-xxx) where xxx is a sequence number (manually typed in)
subEquipment: drop down list of available equipment, user enters quantity.
subStock: drop down list of available stock, user enters quantity.
subLabour: drop down list of available labour types, user enters time spent.
Child Fields
- Equipment Job Number (YY-MM-xxx) when a new record is added, this is automatically numbered the same as the current Project Job Number
-Stock Job Number (YY-MM-xxx) formatted same as Equipment Job Number
- Labour Job Number (YY-MM-xxx) formatted same as others
Any thoughts?
Many thanks in advance!
-L
I have created a project tracking db for a business unit at work. They use the db to track each project's details, as well as info from three categories (equipment, stock and labour). In the background of the db, I have calculations for the month-end reports that take the equipment, stock and labour usage as input by the users, and spits out the total cost for the project.
Unfortunately, I just ran the month-end reports, and noticed that not every project is being accounted for in the report. I know that this is happening because if no records for that project exist in the subform, then it is not being picked up in the query. Then when I combine the three categories in a query, it only grabs the projects where they all have the project number in common.
So, I'm trying to figure out a way to have at least one record for each category that is equal to 0 to ensure that it will be captured in the query/report.
Db Structure includes:
frmProject: includes project details on main form and on Tab 1. Subforms for Equipment, Stock and Labour on Tabs 2, 3, and 4 in a datasheet view as there may be multiple pieces of equipment, etc. being used for each project.
Master Field
- Project Job Number (YY-MM-xxx) where xxx is a sequence number (manually typed in)
subEquipment: drop down list of available equipment, user enters quantity.
subStock: drop down list of available stock, user enters quantity.
subLabour: drop down list of available labour types, user enters time spent.
Child Fields
- Equipment Job Number (YY-MM-xxx) when a new record is added, this is automatically numbered the same as the current Project Job Number
-Stock Job Number (YY-MM-xxx) formatted same as Equipment Job Number
- Labour Job Number (YY-MM-xxx) formatted same as others
Any thoughts?
Many thanks in advance!
-L