Discussion Locked

How top pass code to crystal reports

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to pass data to a report crystal 8 and not like doing it, because when updating crystal does not work the done reports to me that already make in the previous version.

I use pass of recordset and filters SQL. somebody can say to me like doing it.

5 replies

by shanghai sam

Here's my problem
I don't know how to make a report of crystal report 8.5 obtain data in runtime(only with code or using a query).
I'm using a SQL server database and Visual Basic 6.0 and i'm tryng to pass a recorsource in runtime because i use a lot of filters, so i need that my reports will change dinamicaly.
And also my last reports of crystal 4.6 don't get refresh in the previus or printing form.

by sl-campbell

You can pass a recordset (DAO/ADO) to a external report created using a definition file. For this, check out "Using the Active Data Driver" in the same help file or go on-line to the Crystal Care Technical Support Knowledge Base Articles: c2002281,c2002848,c2003548,c2002748.

Also,check out the CR "Help for developer's" help file (installed with the CR program) under "Using the Crystal Data Object", and "When to use the Crystal Data Source Type Library"!.

This discussion is closed to new replies.