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

Retrieving report data using parameters in .NET

Status
Not open for further replies.

portedw

Programmer
Feb 24, 2003
5
US
Help!! I'm new to Crystal Reports and I'm using it under .NET. I'm trying to create a report that will require the user to input some piece of data from a web page(Customer ID for example) and pass this or additional parameters to the report to determine which data to retrieve.

I'm using the xtreme.mdb that comes as part of the Wrox book examples in this case.

I've created a parameter field in the report called "CustomerID". I've placed this field "{?CustomerID}" in the page header section of my report.

Using both the Group Selection Editor and/or the Record Selection Editor (I've tried it both ways) I've tried adding the following line:

{Customer.Customer ID} = {?CustomerID}

I've even gone so far as to set a default for the parameter. Everytime I try to run the solution I get the following error:

[ParameterFieldCurrentValueException: Missing parameter field current value.]

I know I'm just missing something really elementary, but need some help to work through this. What am I missing here?

Thanks,

D. Porter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top