OnCreate event problem in version 11.06
Hi:
I upgraded from version 7 to version 11.06 enterprise of the report builder.
I have the following problem:
I do not use the Query designer.
In version 7 I replaced the sql text in the event "OnCreate".
In version 11 I am not working on event "OnCreate", if you do in the event
"OnInitializeParameters".
My problem is I have over 500 reports, which would be very difficult to make
the change, there is possibility that it works as in version 7 in the event
"OnCreate"?
Thanks
Edgar Britez
Sebaot Software
I upgraded from version 7 to version 11.06 enterprise of the report builder.
I have the following problem:
I do not use the Query designer.
In version 7 I replaced the sql text in the event "OnCreate".
In version 11 I am not working on event "OnCreate", if you do in the event
"OnInitializeParameters".
My problem is I have over 500 reports, which would be very difficult to make
the change, there is possibility that it works as in version 7 in the event
"OnCreate"?
Thanks
Edgar Britez
Sebaot Software
This discussion has been closed.
Comments
The problem is that when I try to replace the sql text in the event
globaloncreate the rBuilder not make the change of sql text in the report.
The same command in the event InitializeParameters working properly.
Why not work in the event global oncreate ( in version 7 of rbuilder working
properly)
Recards
The timing of RAP Global OnCreate and OnInitializeParameters is almost
identical. See ppReport.pas, the method TppReport.InitializeParameters. The
OnCreate is fired, followed immediately by OnInitializeParameters.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
"
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Try using the DBDemos data to create a simple example project that
demonstrates the issue. Send in zip format to support@digital-metaphors.com
and we can research it here.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
always performed
Thanks
This feature is working as designed. The RAP global OnCreate should only
fire a single time. Firing multiple times was a bug reported long long ago
and caused memory leaks and broken code.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com