Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

When trying to access FileMaker Pro 7 via ODBC, I am using a third party product (a canned solution) which references a field called "OID" in any table I try to access; I have such a field in my tables in FileMaker Pro, but when an SQL query references that field, it generates an error message to the effect of "Parse Error in SQL".

For example, in one table, there are numeric fields called "jobID" and "OID". The query:

select * from HVACs where (jobID <> 0)

works perfectly; however, the query:

select * from HVACs where (OID <> 0)

results in a dialog box with the "Parse Error in SQL" message (and fails).

I must be able to run a query which references an OID field. Is anyone else familiar with this problem? Can anyone verify that this is a problem with FMP7 or the ODBC driver, and not with my configuration or database?

I'd appreciate any help I can get.

Thank you.

  • 3 months later...
  • 11 months later...
  • Newbies
Posted (edited)

I hate MS* programs!!!

After many tries and many hours I discovered that the error comes if you

have specified strange names (for Access) for the fields in FileMaker.

I have a database with a field called "FLAG 2"; well, it seems that Access

doesn't allow spaces in field names (at least importing data from

FileMaker with ODBC). I had your same error: "Parse error in SQL".

I changed the field name in FileMaker (FLAG 2 became FLAG2 without space)

and it worked!!!

Thank you Bill, you are always in our thoughts!!!

Edited by Guest
  • 5 months later...
  • Newbies
Posted

I am assuming you are using VisualCE since I am familiar with the OID field. I am trying the same thing. Have you gotten an anser yet?

I would sure hate to have to swith to Alpha5!! - lol

By the way, VisualCE syncs fine with Alpha5 tables.

This topic is 6891 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.