Can I use ReportBuilder?
Hello!
I'm currently trying out ReportBuilder and I have a couple of questions:
1) As far as I can determine ReportBuilder relies heavily on components.
Master-detail relations can for instance only be defined using the
properties on corresponding components (TDataSet descendants). Is this
really true? In my application everything is encapsulated in a TDataSet
object and I have as such no way to get the MasterSource properties.
2) Nevertheless I have created a simple master-detail report (just testing)
and it works except for the fact that the detail-repords are not sorted the
way I want. Is there a way to sort the detail-records in ReportBuilder even
though I have no index on the fields in my DataSet?
Regards,
Erik F. Andersen
I'm currently trying out ReportBuilder and I have a couple of questions:
1) As far as I can determine ReportBuilder relies heavily on components.
Master-detail relations can for instance only be defined using the
properties on corresponding components (TDataSet descendants). Is this
really true? In my application everything is encapsulated in a TDataSet
object and I have as such no way to get the MasterSource properties.
2) Nevertheless I have created a simple master-detail report (just testing)
and it works except for the fact that the detail-repords are not sorted the
way I want. Is there a way to sort the detail-records in ReportBuilder even
though I have no index on the fields in my DataSet?
Regards,
Erik F. Andersen
This discussion has been closed.
Comments
testing)
the
even
The data must be sorted outside of the report. I would consider using one of
several things:
a) TppJITPipelines and do the sorting yourself (this is not nearly as
difficult as it sounds and will add the highest level of flexibility). To
experiment, drop a JIT pipeline on your form, double click on it and add the
fields. If you use this method create a temporary data-storage class
structure.
b) Use a 3rd party in-memory dataset for indexing. There are several
excellent ones avaiable: if you own any Developer's Express
(www.devexpress.com) components, they have a dataset that doesn't take much
time to learn. kbm (www.components4developers.com) has a free one but it is
a bit more complicated then the former one.
Ed Dressel
Team DM