Results 1 to 3 of 3

Thread: stupid lame newbie question

  1. #1

    Thread Starter
    Lively Member mindloop's Avatar
    Join Date
    Mar 2004
    Posts
    64

    stupid lame newbie question

    hello there,
    i never used crystal report before, and the help on this topic provided with vs.net is confusing for me.

    i created a report using the wizard, i added the report and also a CRviewer to my form and i just don't know where to get started, how do i display the report?
    i set property
    crviewer1.reportsource = myreport

    what do i do next ?
    ehmm...

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951
    Here is an example from one of my systems.

    This code calls the viewer:

    glbReportForm = "frmKO"
    CRViewer.Show vbModal

    In the formload event of the viewer :

    Private Sub Form_Load()
    Select Case glbReportForm
    Case "frmKO"
    CRViewer91.ReportSource = frmKO.Report
    case....
    end select

    SCREEN.MousePointer = 0
    CRViewer91.ViewReport
    End Sub

  3. #3

    Thread Starter
    Lively Member mindloop's Avatar
    Join Date
    Mar 2004
    Posts
    64
    thanks,
    some questions :
    where goes this code ?

    glbReportForm = "frmKO"
    CRViewer.Show vbModal

    and is this vb.net code? because it looks like vb 6 to me,
    i didn't mention i use vb.net

    also if this is vb.net what type is frmKO ?
    ehmm...

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