D
Dennis
Hi,
The charity I work for received money from different government grants. We
have to submit reports government agencies using their formats. The point of
this statement is there is no changing the report.
I have two tables; tblProject and tblProjectDetail.
The tblProject has one record / row per project. The tblProjectDetail has
one record / row per thing / activity that was done to the project. At this
point in time, I have five project that fall under this reporting requirement.
The government defined report is formatted as such:
First section of report contains 16 fields from the project record.
The next section of the report lists all of the activity for a specified
period of time (usually a month) for that current project. Each activity
will take three lines on the report. There can be as few as one activity per
month, but the norm is about 30 different activities per month. As a result,
this section can be only a couple of lines or it can run for multiple pages.
If there is no activity for the reporting period, I can either skip the
report for that project of print a project report with no activity. An
activity falls in a reporting period if the activity’s “date occurred†falls
within the user specified beginning and end date.
The final section of the report contains about another 20 fields from the
project report.
So my question is, how do I create this report?
Now that I think about it, I’m guessing that I would want to make the
report’s source be a query based on the tblProject table. This record would
complete the data on the first and third section of the report.
The second section would be a sub-form that “joined†to the main form by
project number (which is in both tables). Only I don’t know how to limit the
data in the sub-form to the user specified time period based.
I would appreciate any pointers on starting this report. I’m not quite sure
how to approach it, especially limiting the activity data to the user defined
date range.
Thanks,
Dennis
The charity I work for received money from different government grants. We
have to submit reports government agencies using their formats. The point of
this statement is there is no changing the report.
I have two tables; tblProject and tblProjectDetail.
The tblProject has one record / row per project. The tblProjectDetail has
one record / row per thing / activity that was done to the project. At this
point in time, I have five project that fall under this reporting requirement.
The government defined report is formatted as such:
First section of report contains 16 fields from the project record.
The next section of the report lists all of the activity for a specified
period of time (usually a month) for that current project. Each activity
will take three lines on the report. There can be as few as one activity per
month, but the norm is about 30 different activities per month. As a result,
this section can be only a couple of lines or it can run for multiple pages.
If there is no activity for the reporting period, I can either skip the
report for that project of print a project report with no activity. An
activity falls in a reporting period if the activity’s “date occurred†falls
within the user specified beginning and end date.
The final section of the report contains about another 20 fields from the
project report.
So my question is, how do I create this report?
Now that I think about it, I’m guessing that I would want to make the
report’s source be a query based on the tblProject table. This record would
complete the data on the first and third section of the report.
The second section would be a sub-form that “joined†to the main form by
project number (which is in both tables). Only I don’t know how to limit the
data in the sub-form to the user specified time period based.
I would appreciate any pointers on starting this report. I’m not quite sure
how to approach it, especially limiting the activity data to the user defined
date range.
Thanks,
Dennis