I'm, generating a report containing OLE pics of state forms. I've overlayed text boxes on the OLE object to fill in the form.
The OLE state form I use in DETAIL section of main report contains an overlayed subreport object which has only text boxes in its DETAIL section. The subreport record source cycles thru the required records. Each OLE state form in main report DETAIL section has room for 2 records that the subreport generates.
When there are no more than 2 records in the subreport the entire report functions flawlessly.
But here's the rub: when there are more than 2 records in the subreport, the subreport forces another page (as it should be), but the main report DETAIL page is not repeated. Only the data, from the 3rd subreport record on, prints on pages which do not show the OLE object from the main report DETAIL section.
And one other quirk is page numbers. When there are less than 3 subreport records, all report page numbers print correctly. But when the aforementioned problem occurs, altho the page number sequencing is correct, the first main report DETAIL page containing the first 2 subreport records, does not print a page number at all.
That is to say the next page containing only the 3rd and 4th subreport records (with no background OLE object) prints the correct page number in its sequence.
I have tried all combinations of forcing new pages, moving the entire main DETAIL page into a GROUP HEADING where I can indicate Repeat Page; keeping groups together or not; causing sections and subreport object on the main report to grow or not; and just about anything else that might have a hint of working, but all to no avail.
This problem has be haunting me for several weeks and I'm ready to throw in the towel. So if any kind folks understand the problem and can suggest something I've yet to try, I'm all ears ... er, eyes.
Thanks,
Vic
P.S. Have a GREAT New Year!
The OLE state form I use in DETAIL section of main report contains an overlayed subreport object which has only text boxes in its DETAIL section. The subreport record source cycles thru the required records. Each OLE state form in main report DETAIL section has room for 2 records that the subreport generates.
When there are no more than 2 records in the subreport the entire report functions flawlessly.
But here's the rub: when there are more than 2 records in the subreport, the subreport forces another page (as it should be), but the main report DETAIL page is not repeated. Only the data, from the 3rd subreport record on, prints on pages which do not show the OLE object from the main report DETAIL section.
And one other quirk is page numbers. When there are less than 3 subreport records, all report page numbers print correctly. But when the aforementioned problem occurs, altho the page number sequencing is correct, the first main report DETAIL page containing the first 2 subreport records, does not print a page number at all.
That is to say the next page containing only the 3rd and 4th subreport records (with no background OLE object) prints the correct page number in its sequence.
I have tried all combinations of forcing new pages, moving the entire main DETAIL page into a GROUP HEADING where I can indicate Repeat Page; keeping groups together or not; causing sections and subreport object on the main report to grow or not; and just about anything else that might have a hint of working, but all to no avail.
This problem has be haunting me for several weeks and I'm ready to throw in the towel. So if any kind folks understand the problem and can suggest something I've yet to try, I'm all ears ... er, eyes.
Thanks,
Vic
P.S. Have a GREAT New Year!