-
Print in vb a report
Hi ,
I am a new user to Crystal report . I got crystal report and i want to use it in Visual Basic 5 . I do not know how to use it so are there any simple code that can help .
I want to print a database table with some records . there must be in table format . and i used ACCESS *.mdb file. I already know that i have to make a report file with the Crystal report desinger.
And i want to print the record but using the selection formula.
Thanks for help .
-
Re: Print in vb a report
Moved from CodeBank Forum. :)
-
Re: Print in vb a report
-
Re: Print in vb a report
I've got a little question, in example 1 what does it mean this: "make sure you have the component linked to your project and add the control to the form "
And what's for the example 2?
Thanks
-
Re: Print in vb a report
#1 is probably referring to you adding a Reference to CR in your Project and adding the CR viewer control to your form.
#2 is an example of how to use CR with a database - Oracle.
I have an example too in my signature - "VB6/Crystal Report Ex."
-
Re: Print in vb a report
and which one is the CR Viewer, coz y only finf out one that says ony Crystal Report.
Thanks
-
Re: Print in vb a report
Project > Components > Controls tab > check - "Crystal Reports Viewer Control" > click Ok. Drag n drop the viewer on to your form from the tools menu. ;)