Is it possible to RENAME name of the EVENT ?
You are most likely seeing this error because both reports are trying to
access the same event code in your application. Be sure that the bands and
events all have unique names for each report so they do not interfere with
each other when both reports are loaded at the same time.
I have a Report with some Groups.
Let's say a Groups[0] has a header
and I want to add BeforePrint Evet to the header.
When I click New, it automatically adds "GroupHeaderBand4" as a NAME
for the EVENT.
Can I simply change this name to any other name so that it cannot conflict
with other REPORTS ?
Thanks,
Ashok
access the same event code in your application. Be sure that the bands and
events all have unique names for each report so they do not interfere with
each other when both reports are loaded at the same time.
I have a Report with some Groups.
Let's say a Groups[0] has a header
and I want to add BeforePrint Evet to the header.
When I click New, it automatically adds "GroupHeaderBand4" as a NAME
for the EVENT.
Can I simply change this name to any other name so that it cannot conflict
with other REPORTS ?
Thanks,
Ashok
This discussion has been closed.
Comments
Are you loading templates? Or were these reports created in a different app
then loaded into this one? If so, it seems one of the events or bands
created in Delphi are still being referenced in the template and no longer
exists. Try saving your report template to file in ascii format and search
the template source for this reference.
The best option would be to save all your reports to file as a template,
then load them as you need from a single report object on your form. This
way you can avoid all conflicts between reports already loaded.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com