dynamically assigning a dataset to a crystal report

.paul.

Well-known member
Joined
May 22, 2007
Messages
212
Programming Experience
1-3
i'm writing an app that i'm trying to add crystal reports to.
at run time i'm building a database, then hopefully reading that database back into a dataset. but i'm having trouble assigning a dataset or database to the report and the chart i'm using in the report.
the report has to have a dataset or database assigned to it at design time.
i've tried assigning both a dataset + a database.

what am i doing wrong?

also how do i set the values for the chart dynamically at runtime?

thanks
 
Can't you select the data that you need from the database table you need thereby creating a virtual table set? I'm not familiar with crystal but its my slanted view of things.
 
For your design time issue, open the 'Project Data' folder in the data tab of the database expert. You should be able to use the datatable(s) you created at design time to design the report and then assign the table to the report at run time.

Hope that helps...
 
Back
Top