Results 1 to 3 of 3

Thread: how to set a parameter?

  1. #1

    Thread Starter
    Fanatic Member noielen's Avatar
    Join Date
    Nov 2005
    Location
    Cebu, Phil.
    Posts
    680

    Arrow how to set a parameter?

    any idea on how to set a parameter in vb to CRXI... ex. if i'm going to display records with status = 1?
    VB Code:
    1. StrQry = " " '?
    noister
    <advertising link removed by moderator>

  2. #2

    Thread Starter
    Fanatic Member noielen's Avatar
    Join Date
    Nov 2005
    Location
    Cebu, Phil.
    Posts
    680

    Re: how to set a parameter?

    help here please... urgent
    noister
    <advertising link removed by moderator>

  3. #3
    New Member
    Join Date
    Nov 2005
    Posts
    13

    Re: how to set a parameter?

    Try this code i hope it will help you, for passing parameters to crystal report x.

    Set crxApp = New CRAXDRT.Application
    Set crxRpt = crxApp.OpenReport(App.Path & "\Reports\DataReport1.rpt")

    crxRpt.RecordSelectionFormula = "{demo04.CODE} = '" & CODE & "' AND
    demo38.DUMMY} = TRUE; "
    'To View the report
    CR.ReportSource = crxRpt
    CR.ViewReport

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