New to
VB.Net, long time programmer.
I have a newly created
VB.Net application running just fine and adding some reports. All is going well with instantiating the reports and manipulating the form holding the report object. However, I have one report that requires a few fields containing values that are a bit too complex for Crystal to calculate. I have a Public Sub that performs the calculations prior to running the report and want to either:
1) Pass the values into the report WITHOUT the user getting prompted for the parameter values (remember, I've already calculated these values, the user want to see them in the report)
- Or -
2) Set the values programmatically prior to making the report visible.
I set up a parameter named OpenBalance and tried the following code:
lfOpenBalnce = GetOpenBalance()
oReport.SetParameterValue("OpenBalance", lfOpenBalance)
but Crystal always prompts the user for the OpenBalance value. Any help is appreciated.