DataSource Problem in RB 9
I have just upgraded from RB 6 to RB 9. In my applications (written using
Delphi 6) I have a report module (a data module with report builder
components) which contains the report explorer, designer and pipelines for
an end-user interface. The report explorer is called from many different
forms during application execution. Just before calling the execute
procedure of the report explorer, I set the datasource of the report
pipeline to the appropriate table. Neither the datasource nor the dataset
are themselves on the report module. This worked fine in RB 6, but in RB 9,
when the user clicks the icon for "new report" it causes a "stack
overflow" - apparently in the ppJvInspector unit. I have discovered that if
I place both the datasource and the dataset (just the datasource is not
sufficient) on the report module itself, it works fine. Is this change in
behaviour as planned? (It means a large amount of recoding if so!)
Mike Combellack
Software Experts S.L.
Delphi 6) I have a report module (a data module with report builder
components) which contains the report explorer, designer and pipelines for
an end-user interface. The report explorer is called from many different
forms during application execution. Just before calling the execute
procedure of the report explorer, I set the datasource of the report
pipeline to the appropriate table. Neither the datasource nor the dataset
are themselves on the report module. This worked fine in RB 6, but in RB 9,
when the user clicks the icon for "new report" it causes a "stack
overflow" - apparently in the ppJvInspector unit. I have discovered that if
I place both the datasource and the dataset (just the datasource is not
sufficient) on the report module itself, it works fine. Is this change in
behaviour as planned? (It means a large amount of recoding if so!)
Mike Combellack
Software Experts S.L.
This discussion has been closed.
Comments
exactly the same problem (click on new report and gets "Stack Overflow").
Interestingly, he is using Interbase tables and in my case the tables are
Firebird. Could this be relevant? As I mentioned before, it worked fine in
RB 6!
Mike Combellack
7.04.
Thanks,
Nick