Results 1 to 2 of 2

Thread: [2003] Crystal Reports Viewer

  1. #1

    Thread Starter
    Hyperactive Member Jonny1409's Avatar
    Join Date
    Mar 2005
    Posts
    308

    [2003] Crystal Reports Viewer

    Hello,

    I have a load of crystal reports which have been created previously, and what I'd like to do is print / preview these from my VB.NET application.

    Ideally I'd want a form in VB which will list all of the crystal reports in a particular location on my hard drive. Then I'd like to be able to click onto the reports and print / preview them in the Crystal Viewer.

    I have found something called Crystal Reports Viewer on the toolbox, but I've no idea how to use it, or whether it's actually what I need.

    Can anyone help me with this please, or point me in the direction of some documentation which will help me do this?

    Thanks,
    J.

  2. #2
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: [2003] Crystal Reports Viewer

    Ok u can do it very easily
    first drag and drop that viewer and give a combo box on the form with lits of all reports
    and a button from which the report will get fired
    on that button code the following

    if combo1.text = "this" then CRV.ReportSource = "Report1.rpt"
    else if if combo1.text = "this1" then CRV.ReportSource = "Report2.rpt"
    .
    .
    .
    .

    and just like that
    Thanks and Regards,

    Muhammad Abbas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width