Jump to content
Server Maintenance This Week. ×

odbc error syntax


This topic is 4024 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hello! I'm use FileMaker 12 PRO Ad for access to filemaker base throughout ODBC.
When i use query

Select * from Invoices WHERE Date>'2013-03-15'

I get error message 
(Microsoft OLE DB Provider for ODBC Drivers): [FileMaker][FileMaker] FQL0001/(1:30): There is an error in the syntax of the query.
How use "Date" in query?

Thanks!

 

Link to comment
Share on other sites

I believe "Date" may be a reserved word or function in FQL. If "Date" is also the name of the field you're targeting, perhaps try wrapping it in quotes:

SELECT * FROM "Invoices" WHERE "Date" > '2013-03-15'
Link to comment
Share on other sites

This topic is 4024 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.