(Sorry, this got attached to an already existing thread...)
Hi everyone,
I've got a question that I can find no usable answer for. I am creating a report that has two records worth of information in the same detail section.
In the table there records for regions 'North' and 'South'. In my report I want to display North's information in the left half of the detail section and South's information in the same detail section but on the right half. I want to display two records worth of information before the report CRLF's. A CRLF will occur only when the MyDate field changes closing the format for that section and printing that part of the report (MyDate is one of the field names on the report in both halves of the detail section).
When I select the data I am Ordering it by Date then Region.
When I'm done printing It will "appear" to be in columns, North on the left and South on the right (it will be more like spreadsheet columns rather than word processor columns, spreadsheet output is not neccessarily what I'm looking for though). Where one or the other is missing a record then the area will just remain unused(blank).
So, my question is: Can I force the read of another record (i.e. movenext) before I leave the formatting of the detail section? Or, can I keep the format of the detail section open while the report gets the next record?
I plan on going outside the report to a function during report detail format to individually load the textboxes based on the region in the record.
(I hope this is clear...)
...So far the responses are:
dhookom (Programmer) 24 Nov 06 2:49
Is there more than one record per date per region? Is there always at least one record per date per region?
If there are multiples, I would use two of the same subreport in the detail section of a report that contains only dates and regions.
Duane MS Access MVP
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.
lamarw (MIS) 24 Nov 06 12:56
Q:Is there more than one record per date per region? Is there always at least one record per date per region?
A: One record per Date/Region. However, there will be two records per date but the differentiating factor is the region, therefore, always one record per date/REGION.
Hi everyone,
I've got a question that I can find no usable answer for. I am creating a report that has two records worth of information in the same detail section.
In the table there records for regions 'North' and 'South'. In my report I want to display North's information in the left half of the detail section and South's information in the same detail section but on the right half. I want to display two records worth of information before the report CRLF's. A CRLF will occur only when the MyDate field changes closing the format for that section and printing that part of the report (MyDate is one of the field names on the report in both halves of the detail section).
When I select the data I am Ordering it by Date then Region.
When I'm done printing It will "appear" to be in columns, North on the left and South on the right (it will be more like spreadsheet columns rather than word processor columns, spreadsheet output is not neccessarily what I'm looking for though). Where one or the other is missing a record then the area will just remain unused(blank).
So, my question is: Can I force the read of another record (i.e. movenext) before I leave the formatting of the detail section? Or, can I keep the format of the detail section open while the report gets the next record?
I plan on going outside the report to a function during report detail format to individually load the textboxes based on the region in the record.
(I hope this is clear...)
...So far the responses are:
dhookom (Programmer) 24 Nov 06 2:49
Is there more than one record per date per region? Is there always at least one record per date per region?
If there are multiples, I would use two of the same subreport in the detail section of a report that contains only dates and regions.
Duane MS Access MVP
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.
lamarw (MIS) 24 Nov 06 12:56
Q:Is there more than one record per date per region? Is there always at least one record per date per region?
A: One record per Date/Region. However, there will be two records per date but the differentiating factor is the region, therefore, always one record per date/REGION.