satishbeh
June 14th, 2004, 06:23 AM
Hello Babu,
I am trying to open a crystal report from VB. Everything works fine.
When I am trying to assign a date parameter value, I get the error "Type Mismatch".
ie. txtdate="14/06/2004"
Report.ParameterFields(1).AddCurrentValue txtdate
where txtdate is a date variable.
I also tried cdate(txtdate)
when I try to pass variables other than type date it works fine.
Regards ,
Satish
I am trying to open a crystal report from VB. Everything works fine.
When I am trying to assign a date parameter value, I get the error "Type Mismatch".
ie. txtdate="14/06/2004"
Report.ParameterFields(1).AddCurrentValue txtdate
where txtdate is a date variable.
I also tried cdate(txtdate)
when I try to pass variables other than type date it works fine.
Regards ,
Satish