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

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

Recommended Posts

Posted

Hi,

Through a script, I want to find all the records in a file where creation_date is >= 01/01/<>. The creation_date field is a date field. I tried to execute a script with the following script steps:

enter find mode[]

set field["creation date, ">=" & texttodate("01/01" & year(status(currentdate)")

If I use the above method then FileMaker interprets the the result as a text data because I am concatenating a string to the date.

I tried using Insert Calculated Result[] but after concatenation with the text field, it shows the total number of days from 01/01/0001 (for eg: it shows '>= 01/01/2005' as '>= >=731947' and FileMaker gives an error to enter data in mm/dd/yyyy format.

Any help would be greatly appreciated.

Thanks in advance,

--Sanjai

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