Page 1 of 1

How to create a full dynamic report sample?

Posted: Fri Jan 06, 2012 1:16 pm
by gustavo
I'm trying to create a little project to test our needs...
so, we basically need this points:
1- let the customer be free to create any report that he wants.
2- save this report in database
3- load this report from database to edit or visualize

but my doubt is:
for item 1:
how can i set all the tables and field for the customer work on it?

for item 2 and 3:
after he saves a report, all the data is stored with it too? example: He use a table and put some filters e groups... when he loads this report, it will load all the data or i need to find what he is using and set the datasource to preview?






How to create a full dynamic report sample?

Posted: Mon Jan 09, 2012 3:01 am
by HighAley
Hello.
gustavo wrote:I'm trying to create a little project to test our needs...
so, we basically need this points:
1- let the customer be free to create any report that he wants.
2- save this report in database
3- load this report from database to edit or visualize

but my doubt is:
for item 1:
how can i set all the tables and field for the customer work on it?
You could use RegData method to register your data in the report and then open it in Designer.
gustavo wrote:for item 2 and 3:
after he saves a report, all the data is stored with it too? example: He use a table and put some filters e groups... when he loads this report, it will load all the data or i need to find what he is using and set the datasource to preview?
If you save report template (mrt-file) then all data loads again from data source. If you save rendered report (mdc-file) then all data stored in the report but you couldn't change it.

Thank you.