Can anyone sport a syntax error with this sql command - driving me mad:
Error message is:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Pervasive][ODBC Client Interface][Pervasive][ODBC Engine Interface]Syntax Error: DNUM_14 WHERE "Order Master".TYPE_10 = 'MF' AND "Order Master".STATUS_10 = '3' AND "Requirement Detail".PRTNUM_11 = '18101961' AND "Job Progress".OPRSEQ_14 = '0001' AND "Job Progress".MOVDTE_14 <> NUL<< ???
"Job Progress".MOVDTE_14 is a date field and I want to get all records where there is no date in that field.
Mighty
Code:
SELECT SUM(DUEQTY_11) as issQty FROM ("Order Master" INNER JOIN "Requirement Detail" ON "Order Master".ORDER_10 = "Requirement Detail".ORDER_11) INNER JOIN "Job Progess" ON "Order Master".ORDER_10 = "Job Progress".ORDNUM_14 WHERE "Order Master".TYPE_10 = 'MF' AND "Order Master".STATUS_10 = '3' AND "Requirement Detail".PRTNUM_11 = '18101961' AND "Job Progress".OPRSEQ_14 = '0001' AND "Job Progress".MOVDTE_14 <> NULL
Error message is:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Pervasive][ODBC Client Interface][Pervasive][ODBC Engine Interface]Syntax Error: DNUM_14 WHERE "Order Master".TYPE_10 = 'MF' AND "Order Master".STATUS_10 = '3' AND "Requirement Detail".PRTNUM_11 = '18101961' AND "Job Progress".OPRSEQ_14 = '0001' AND "Job Progress".MOVDTE_14 <> NUL<< ???
"Job Progress".MOVDTE_14 is a date field and I want to get all records where there is no date in that field.
Mighty