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.