I`ve been playing around with Crystal Reports 10 for awhile. Now I want to call a report I created from VB 6. How can I go about? Do I need to include a reference to Crystal Reports 10 in my project.
George Papadopoulos
Last edited by divined; May 31st, 2005 at 02:06 AM.
ok. So that means that I should make whatever filtering in the external Crystal Reports file. But what if I want to pass a parameter from my application to the form. E.t.c. I want to pass a date the user has entered, which will possibly reduce the recordset.
Can that be done?
ok. I see that with Robdog`s code one can filter out the recordset passed to the report. But what about the report design process. When I create a new blank report in Crystal Reports it immediately ask for the connection info, so that I have access to the fields and tables I want. Does this interfere with Robdog`s code in any way?
ok. thx. I`ll check that out as well. One thing I don`t understand in Robdog`s code is the crvMyViewer object. Ok, I can add a reference to the Crystal Reports viewer control but doesn`t this object need to be defined somewhere?
Something like :
Code:
Dim crvMyCrViewer As CRAXDRT.ReportViewer
or is this some sort of control I can place on a form?