Saturday, March 24, 2012

VS 2005 and Crystal Parameter

Hey,
I just installed 2005 enterprise edition. I created a new crystal report web page and I can get my report to display. The problem is this particular report takes a parameter so when I run my website I get an initial page prompting me to enter the parameter. How can I can code the parameter using VB.NET coding?

When I look at the code behind my default.aspx it doesn't have any coding...Anyone got any ideas on what to do here? instead of being prompted for my parameter when the report loads I need to programmatically pass it.
CrystalReportSource1.ReportDocument.SetParameterValue(paramIndex, paramValue)

seems to be all I needed.

0 comments:

Post a Comment