rjmccafferty
IS-IT--Management
I need to have information in a report that covers varying date ranges. This has to do with our Managers calling potential investors (large institutional investors). The report needs to have essentially the fields listed below (all for a date range specified by the user, which is done in a calling form which has unbound text fields for the start and end date of the range). I use two tables, one for information about the individual call being reported, a second that allows the user to list any number of follow up duties/things to be mailed. Kind of like invoice and lineItem tables in a one to many relationship, if that analogy helps at all. The best way to get the combination of totals fields and lists of details seem to be with a master report and 4 subreports as noted below.
On the master report, my only entries are a beginning date and ending date that are obtained form unbound fields in a form, the report title, date, page numbers, etc. The date information is obtained via a query.
So, I have
1. an initial query to access the tables and provide date range for the master report (all queries listed below access this query for their data
2. a query based subreport to count phone calls
3. a query based subreport to count meetings set up and develop a list of companies they were set up with
4. a query based subreport to pull up a list of materials sent
5. a query based subreport to list all companies moved to the declined/dropped category
· I link the master and child reports with the CustomerID field (which I think may be my problem).
· I have no grouping on the master report
· I have all subreports set to CanGrow and Can Shrink
· Visually, in design view, I do have the subreports drawn very narrowly vertically, looking much like a long pencil going from side to side. (I do this in other reports with no adverse effects).
I have a couple problems I do not understand:
1. The subreports mostly do not show headers or footers, just detail, although there is one exception to this.
2. The subreports that are meant to show details, such as all materials sent out, do not list them all in a row, looking like they are a table of their own. The subreport begins over again with each new Customer's information. (But within each customer's subset of information, it does list them line by line as you would expect.) It is this problem in particular that makes me thing linking the subreports by the customerID field was an error.
Potential solutions:
· If linking the subreports by CustomerID is a problem, how do I link them? Do I need to somehow assign ID numbers to each record in the master and child tables so I can link the reports?
· Or is this not what is causing the problem with the listings (subreports) of Follow up Materials, Meetings and Group changes beginning anew with each new customerID?
· And I have no clue why I am not see the report and page headers in the subreports when they come to the master report. When run individually, as a report on their own, these areas print just like you would expect them to do.
On the master report, my only entries are a beginning date and ending date that are obtained form unbound fields in a form, the report title, date, page numbers, etc. The date information is obtained via a query.
So, I have
1. an initial query to access the tables and provide date range for the master report (all queries listed below access this query for their data
2. a query based subreport to count phone calls
3. a query based subreport to count meetings set up and develop a list of companies they were set up with
4. a query based subreport to pull up a list of materials sent
5. a query based subreport to list all companies moved to the declined/dropped category
· I link the master and child reports with the CustomerID field (which I think may be my problem).
· I have no grouping on the master report
· I have all subreports set to CanGrow and Can Shrink
· Visually, in design view, I do have the subreports drawn very narrowly vertically, looking much like a long pencil going from side to side. (I do this in other reports with no adverse effects).
I have a couple problems I do not understand:
1. The subreports mostly do not show headers or footers, just detail, although there is one exception to this.
2. The subreports that are meant to show details, such as all materials sent out, do not list them all in a row, looking like they are a table of their own. The subreport begins over again with each new Customer's information. (But within each customer's subset of information, it does list them line by line as you would expect.) It is this problem in particular that makes me thing linking the subreports by the customerID field was an error.
Potential solutions:
· If linking the subreports by CustomerID is a problem, how do I link them? Do I need to somehow assign ID numbers to each record in the master and child tables so I can link the reports?
· Or is this not what is causing the problem with the listings (subreports) of Follow up Materials, Meetings and Group changes beginning anew with each new customerID?
· And I have no clue why I am not see the report and page headers in the subreports when they come to the master report. When run individually, as a report on their own, these areas print just like you would expect them to do.