PavanKumarU
Programmer
Hi,
Hope someone can help me with this.
I am trying to pass a Null value for a Date parameter of a report, form VB.
When run in Crystal environment, i am able to set it to Null and my stored procedure accepts null for this parameter. But form VB, when i try the following code I am getting a "Type Mismatch" error.
cReport.ParameterFields(11).AddCurrentValue CDate(Begin_Settle_Date)
I even tried
creport.Parameterfields(11)="CrwNull".
It also raises the same error.
Could someone thorw some light on this?
Any help is much appreciated.
Thanks,
Pavan
Hope someone can help me with this.
I am trying to pass a Null value for a Date parameter of a report, form VB.
When run in Crystal environment, i am able to set it to Null and my stored procedure accepts null for this parameter. But form VB, when i try the following code I am getting a "Type Mismatch" error.
cReport.ParameterFields(11).AddCurrentValue CDate(Begin_Settle_Date)
I even tried
creport.Parameterfields(11)="CrwNull".
It also raises the same error.
Could someone thorw some light on this?
Any help is much appreciated.
Thanks,
Pavan