Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date problem with access

Status
Not open for further replies.

8ginga8

Programmer
Dec 14, 2004
54
CA
Can someone please help i have this query below that when it is pasted into access and the variables are replaced with dates the query excutes fine, but as soon as I do the same query in CF it doesn't work. No error

Code:
<cfquery datasource="#datasource#" name="get_done">
SELECT  *
FROM QUARTER LEFT JOIN SURVEY ON QUARTER.qrt_id = SURVEY.qrt_id
WHERE QUARTER.qrt_stamp >= #createodbcdatetime(SESSION.bioalliance.user_create)# AND (Exists (select * from SURVEY
  where SURVEY.qrt_id = QUARTER.qrt_id and user_id = #SESSION.bioalliance.user_ID#)=False) AND QUARTER.qrt_stamp2 <= #createodbcdatetime(today)#
 </cfquery>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top