Bind Dataset at Runtime
Posted: Fri Jul 21, 2006 12:45 pm
Hi,
I am evaluating stireport and find it a good report builder but i need to know how to bind dataset table at run time.
for example :
1. create a 1 dataset with 2 table
2. the first table contains a master data
3. the second table contains a defined schema without data
4. register dataset
5. call stireport with contain 2 databand
6. the first data band link with table 1 and databand 2 link with table 2
7. when databand complete the render for the current record i whan to fill table from diferent sources depending then content of table1 current record
8. render in data band 2 the data now containded in table2.
Note : i do these very easy in Fastreport using customs functions and call them inside Onbeforeprint event of thier quivalent of databand 1 of the example.
regards,
Dennis Ortiz
I am evaluating stireport and find it a good report builder but i need to know how to bind dataset table at run time.
for example :
1. create a 1 dataset with 2 table
2. the first table contains a master data
3. the second table contains a defined schema without data
4. register dataset
5. call stireport with contain 2 databand
6. the first data band link with table 1 and databand 2 link with table 2
7. when databand complete the render for the current record i whan to fill table from diferent sources depending then content of table1 current record
8. render in data band 2 the data now containded in table2.
Note : i do these very easy in Fastreport using customs functions and call them inside Onbeforeprint event of thier quivalent of databand 1 of the example.
regards,
Dennis Ortiz