Results 1 to 2 of 2

Thread: Crital report handling by VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Lahore
    Posts
    9

    Red face

    I wanna to send parameters to cristal report from VB. THere is method of [parameterfields] of cristal repoprt but how it will be used because the syntax which is told us in help of cristal report is not accepted by VB.

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Posts
    27
    To pass parameters from vb to crystal you will need to create 2 empty formulas in the report eg startcode and endcode then use this code in the VB.

    CrystalReport1.Formulas(0) = "startcode= " & txtStartCode.text
    CrystalReport1.Formulas(1) = "endcode= " & txtEndCode.text

    Also remove the parameters in the report.

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