Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameters to Crystal Reports

Status
Not open for further replies.

paulcudd

Programmer
Mar 4, 2002
7
GB
I want to pass two string parameters already defined in the report using either Delphi/VB.
Parmeter fields one and two have been added to my report
 
use this statement to pass parameter field in Crystal Report using VB :

ex:
first paramater field calls param1
second parameter field call param2

crystalreport1.ParameterFields(0) = "param1;" & strvalue1 & ";true"
crystalreport1.ParameterFields(1) = "param2;" & strvalue2 & ";true"


Regards
Hellen.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top