p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Passing Parameters to crystal reports from vb


Message #1 by "Kashif Mehmood Ali" <kashif_comp@h...> on Fri, 28 Jun 2002 14:54:37
Hello!
    I want to pass the parameters from a visual basic application to 
crystal report.i have done it by using this statment 
   repObj.parameterFields(0)="<parameter name>;"&<parameter value>&";true"

I am giving the values to the parameters but the problem is this it's 
again prompting for the values in the craystal report.How can i skip this 
prompting message.
Please reply soon if some one have the idea about it.

from
kashif
Message #2 by Tony Cooper <Tony.Cooper@H...> on Fri, 28 Jun 2002 14:55:45 +0100
Kashif

Set this statement after setting your parameter fields

    repObj.EnableParameterPrompting = True

HTH
Tony

-----Original Message-----
From: Kashif Mehmood Ali [mailto:kashif_comp@h...]
Sent: 28 June 2002 15:55
To: crystal_reports
Subject: [crystal_reports] Passing Parameters to crystal reports from vb


Hello!
    I want to pass the parameters from a visual basic application to 
crystal report.i have done it by using this statment 
   repObj.parameterFields(0)="<parameter name>;"&<parameter value>&";true"

I am giving the values to the parameters but the problem is this it's 
again prompting for the values in the craystal report.How can i skip this 
prompting message.
Please reply soon if some one have the idea about it.

from
kashif

  Return to Index