Error when creating parameter fields
Error when creating parameter fields
(OP)
I havea foxpro form and I need to insert From date and To date into my crystal report. So that I created two variables like this.
After that I inserted parameter fields into my code as below,
When I am run my form it says Operator/operand type mismatch. Why is that?
How can I insert my variables inside my code as parameter field?
Thank you.
CODE
_FromDate=thisform.txtFrom.Value _ToDate= thisform.txtTo.Value
After that I inserted parameter fields into my code as below,
CODE
.ParameterFields(0) ="xFromDate;"+ _FromDate+";true" .ParameterFields(1) ="xToDate;"+ _ToDate+";true"
When I am run my form it says Operator/operand type mismatch. Why is that?
How can I insert my variables inside my code as parameter field?
Thank you.
RE: Error when creating parameter fields
Are you creating the parameter in crystal or in foxpro?
Macola Software Veteran and SAP Business One Consultant on Training Wheels
Check out our Macola tools:
www.gainfocus.biz/exceladdin.html
RE: Error when creating parameter fields
RE: Error when creating parameter fields
If you are writing code such as VB.net rather a stand alone crystal report, you are in the wrong forum. Try posting in the crystal reports integrate forum. They may have a better answer.
Macola Software Veteran and SAP Business One Consultant on Training Wheels
Check out our Macola tools:
www.gainfocus.biz/exceladdin.html
RE: Error when creating parameter fields