Add Sender to TfrxUserDataset.ongetvalue

I have built a custon reporting environment that dynamically creates master/detail memory tables connected to FastReports. The problem is that using the standard TfrxDBDataset provides a very slow report generation, where as TfrxUserDataset yields a 10x faster report.

The problem is that all the events pass "Sender" except for TFrxUserDataset.OnGetValue(const VarName: String; var Value: Variant).
I need the "Sender" if I am to code a generic event for onGetValue at runtime.

Why does TfrxDBDataset react so slowly. If I walk through a master/detail table of M:1000/D:10000 it takes < 1 second when disconnected from reports, but under FastReports it takes 5 minutes.
Using TfrxUserDataset on the other hand takes 20 Seconds, but I cannot code at runtime the onGetValue event ?
Any help would be appreciated since the report application is in production.

Thank you

Robert

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.