Multiple reports
I am using D6 and RBPro 7.03.
After the data generates, I will need to pull up 1 of 3 different report
files, depending on what data is going to be generated.
One of the report files uses all DBText fields in the detail line. The other
uses DBCalc fields to get a Sum in the group footer line. I need to use code
to check certain things on the DBCalc fields.
If the last report I had up in the report writer was the one with DBText
fields, and I try to compile, it shows there are Undeclared identifiers
(since there are no DBCalc fields on the first report.
What is the best way around this. I'd rather not put 7 blank DBCalc fields
on my first report just for compiling purposes.
Thanks in Advance,
Dave
After the data generates, I will need to pull up 1 of 3 different report
files, depending on what data is going to be generated.
One of the report files uses all DBText fields in the detail line. The other
uses DBCalc fields to get a Sum in the group footer line. I need to use code
to check certain things on the DBCalc fields.
If the last report I had up in the report writer was the one with DBText
fields, and I try to compile, it shows there are Undeclared identifiers
(since there are no DBCalc fields on the first report.
What is the best way around this. I'd rather not put 7 blank DBCalc fields
on my first report just for compiling purposes.
Thanks in Advance,
Dave
This discussion has been closed.
Comments
This could be solved very easily using RAP. With RAP you could keep all
your event handler code local to each individual report rather than having
it execute for each report you run on the form. With the use of RAP and
DADE it is possible to have completely portable reports that can be viewed
and printed from many different reporting applications. Please see our web
site under ReportBuilder Enterprise Edition for more information.
(http://www.digital-metaphors.com)
Otherwise, if you are loading templates, you will have to use a template
event such as the OnLoadEnd event to find out which report is being loaded
and enable or disable event code accordingly.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com