ralphcarter
Programmer
We are developing a VB app and are trying to create a recordset from a VFP table by filtering on a field with a DATE datatype. We continue to get the following errors.
[ODBC VISUAL FOXPRO DRIVER]MISSING OPERAND
or
OPERATOR/OPERAND TYPE MISMATCH
Below is an example of the code we are using. This particular code gets the missing operand error.
All help is appreciated
sSQL = "SELECT * From mbw_sale WHERE mbw_sale.rundate = #07/27/2007#;"
tblsale.Open sSQL, dbase1, adOpenStatic, adLockBatchOptimistic, adCmdText
Thanks
Ralph
[ODBC VISUAL FOXPRO DRIVER]MISSING OPERAND
or
OPERATOR/OPERAND TYPE MISMATCH
Below is an example of the code we are using. This particular code gets the missing operand error.
All help is appreciated
sSQL = "SELECT * From mbw_sale WHERE mbw_sale.rundate = #07/27/2007#;"
tblsale.Open sSQL, dbase1, adOpenStatic, adLockBatchOptimistic, adCmdText
Thanks
Ralph