dynamic crosstab subreport problem

  • Thread starter Thread starter Guest
  • Start date Start date
unfortunately, these solutions are missing a key element that I require.
That is, both the main and subreport depend on a criteria(s):

"Forms!frmOTBRptByDate!txtStartDate"
"Forms!frmOTBRptByDate!txtEndDate"
"Forms!frmOTBRptByDate!cmbDept"
"Forms!frmOTBRptByDate!cmbClassID"
 
I guess I forgot to add those specific criteria. Sometimes you have to make
easy modifications existing solutions to make them fit.
 
....I don't know if this will bring light to my problem...

when I Debug, I noticed that when the code completes Report_Open() of the
subreport, it immediately closes the subreport i.e; Report_Close.

when I Debug the subreport as a normal report, when the code completes
Report_Open(), the next instructions it goes to is ---> ReportHeader_Format()
then ---> Detail_Format(). and the correct output is created.

Hope this helps....and thanks for taking the time you're spending with this
problem.
 
I doubt the code/solution you have chosen will work with a subreport. I
would try the solution I mentioned or not use a subreport.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top