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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass parameters to Crystal Reports

Status
Not open for further replies.

RobHVB6Sql

Programmer
May 20, 2002
77
AU
I have done this in VB, but the .ParameterFields(x) property isn't there in Access 97/VBA.

I have a Crystal Report Control (which Access calls an ActiveX Control) on a form and am printing the report fine with:

With theForm.CRViewer1
.ReportFileName = "xxx"

'prepare standard parms (property not present)
''.ParameterFields(0) = "@DateFrom;" + strDateFrom + ";TRUE"
.PrintReport
End With

theForm.CRViewer1.Reset


Any help appreciated. Rob Hasard
Data Manager -Genetic Services
(VB6 /SQL 7.0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top