Skip to Content
Former Member
Mar 20, 2009 at 05:46 PM

Refresh Report does not use parameter value I just set it


I am running Crystal Reports Basic for Visual Studio 2008.

I would like to dynamically refresh my report based on a parameter.

For instance, I'll have a customer contract and I want to switch between customers based on a VB.NET winform button click.

I was expecting the code below to work, but I keep getting the "Enter Parameter Values" dialog box, why isn't it using the parameter value that I just set it?


CustomerReport1.SetParameterValue("CustomerID", txtCustID.Text)