Search the web
Sign In
New User? Sign Up
qodbc · QODBC ODBC Driver for QuickBooks
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Date Format in Where Statement of Pass Thru Query   Message List  
Reply | Forward Message #1330 of 1354 |
Hi. I have the latest versions of the driver and QuickBooks
Enterprise 7. I use Access 2003. Pass Thru queries work just great
until I try to restrict by date.

This works perfect:
SELECT *
FROM InvoiceLine UNOPTIMIZED
WHERE ClassRefFullName = "001-Gfeller"

This fails:
SELECT *
FROM InvoiceLine UNOPTIMIZED
WHERE TxnDate = ????!!!!????

I've tried different bracketing:
(), {}, [], " ", ' ', ##
I've tried different date formats:
YYYY-MM-DD, YYYY-DD-MM, YYYYMMDD, MM/DD/YY, MM/DD/YYYY, etc.

Got a variety of different error messages like Unexpected Literal,
or etc.

Any suggestions?




Mon Sep 3, 2007 1:06 pm

sheaschultze
Offline Offline
Send Email Send Email

Forward
Message #1330 of 1354 |
Expand Messages Author Sort by Date

Hi. I have the latest versions of the driver and QuickBooks Enterprise 7. I use Access 2003. Pass Thru queries work just great until I try to restrict by...
sheaschultze
Offline Send Email
Sep 15, 2007
6:07 pm

Dates have a specific format requirement for being passed within the WHERE clause: {d'YYY-MM-DD'} So, you need to format your fiel as appropriate so that it...
Rod Lewis
ddprlewis
Offline Send Email
Sep 17, 2007
1:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help