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

can you get the current value of a crystal report input param?

Status
Not open for further replies.

mbutch

Programmer
Nov 17, 2000
100
US
Is it possible to get the current value of a crystal report input parameter? I've tried everything I could think of but I can't get the value of a partameter field that was saved with a report.

This code only returns "CrystalDecisions.Shared.ParameterDiscreteValue":

Code:
MessageBox.Show(this.cdrReport.DataDefinition.ParameterFields[0].CurrentValues[0].ToString(), "Parameter Values");

This code causes an exception:

Code:
this.paramDiscreteValue.Value = this.cdrReport.DataDefinition.ParameterFields[0].CurrentValues[0];

Any suggestions would be greatful.

Thanks,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top