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

How can I a parameter field value in run time??

Status
Not open for further replies.

Norviking

Programmer
Nov 2, 2002
33
0
0
NO
Hi.

I have just made myself a new report which include a parameter field. When I use my application, i want to set this field to ie. "John Smith". How??

Is it possible to have a report that contains multiple typedatasets? And how can I set the reports.datasource to contain both datasets???

Plz help.
 
Assuming you're working with the Crystal RDC, see the following document at the Crystal KB and download the appropriate sample files:


Also, it would be beneficial if you in your post you listed your development environment (e.g., VB6 or VB.Net or Java, etc.) and the version of Crystal you are using.
 
I have CR8.5 and using Crystal RDC. My report has 8 parameters. When I'd like to specify certain value I write:

Set oField = CRXReport.ParameterFields.Item(1)
oField.AddCurrentValue 2

But how to set some parameter value to Null(the same way as in dialog box)? When I write "oField.AddCurrentValue Null " it fails with error "Object required".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top