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

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

Recommended Posts

Posted

I have the following in my WHERE clause:

(release_date > date() - 3)

and it results in the following error:

Error: Incompatible datatypes in expression : > (State:37000, Native Code: F54)

Is there any way to do Date Math in an ODBC query of FM data?

  • 1 month later...
Posted

give this a shoot:

SELECT Table.Release_Date WHERE Table.Release_Date > (now()-3)

is there a scripting step involved prior or after the SQL filter?

Take care!

Posted

Actually, I found two things that got it to work.

One, I thought I had the checkbox off to convert Number, Date and Time to text. Well...I didn't. (OOPS!)

Second, I used the today() function as in:

(release_date > today() - 30)

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