Hey fellas. Here's what I'm doing and the error.
I'm checking two fields in two separate tables as follows:
Dim RS1
Set RS1 = Server.CreateObject("ADODB.Recordset"
SQLQuery = "select * from table1 where done = false and RS2('date1') => #" & date & "#" & " order by timedue, hot desc, timein"
RS1.open SQLQuery, "DSN=matte"
SQLQuery2 = "select * table2"
Dim RS2
Set RS2 = Server.CreateObject("ADODB.Recordset"
RS2.open SQLQuery2, "DSN=matte"
***************** ERROR *****************************
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'done = false and RS2('date1') => #5/2/01#'.
/site/Page.asp, line 8
***************** ERROR *****************************
"The reward of one duty done is the power to fulfill another"
<%
Jr Clown
%>
I'm checking two fields in two separate tables as follows:
Dim RS1
Set RS1 = Server.CreateObject("ADODB.Recordset"
SQLQuery = "select * from table1 where done = false and RS2('date1') => #" & date & "#" & " order by timedue, hot desc, timein"
RS1.open SQLQuery, "DSN=matte"
SQLQuery2 = "select * table2"
Dim RS2
Set RS2 = Server.CreateObject("ADODB.Recordset"
RS2.open SQLQuery2, "DSN=matte"
***************** ERROR *****************************
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'done = false and RS2('date1') => #5/2/01#'.
/site/Page.asp, line 8
***************** ERROR *****************************
"The reward of one duty done is the power to fulfill another"
<%
Jr Clown
%>