Here is an example of what I am trying to do:
lcSQL = "get_Scheduler_code ( -1, 1002, 'WCH', '02/01/2001', '02/02/2001', 'test - wch - 02/01/01', 'RFS Level' )}"
lcSql = "{? = call " + lcsql + "}"
lnResult = SQLPREPARE(.mnHandle, lcSql)
The SQLPREPARE being used is the VFP 5.0 command.
For now the function was changed to accept string datatype inplace of date datatype - param 4 & 5. I would prefer to use, if possible, the escape sequence characters and have the function accept them as dates. Unless there is another alternative.
Any help is greatly appreciated.
Thanks in advance.