Results 1 to 3 of 3

Thread: crystal report parameter

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2007
    Posts
    26

    crystal report parameter

    I Wish to pass parameter to Crystal Report. I have Access data base one table named student. I with to select range of data's from that table field named "rno"

    i am using visual basic 6

    I used following code to view crystal report
    ================================================
    Set rs = New ADODB.Recordset
    modConnection.opendb
    rs.Open "select * from STUDENT_M order by rno", cn, adOpenStatic, adLockPessimistic
    Report.Database.SetDataSource rs
    Screen.MousePointer = vbHourglass
    CRViewer1.ReportSource = Report
    CRViewer1.ViewReport

    Screen.MousePointer = vbDefault


    ==========================================
    I am new to crystal report. please guide me how to use parameter in crystal report.


    a.Senthil kumar.

  2. #2
    Member
    Join Date
    Nov 2008
    Posts
    36

    Re: crystal report parameter

    you don't need to use code to do that. I did this from Crystal Report Wizard. On the report, right click and chose Report Expert. Just play with that...

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: crystal report parameter

    Moved To Reporting

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