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

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

Recommended Posts

Posted

I have a database with a date field called "Received".  By default, my users need only see the last six months of records, only occasionally needing to see beyond that.

 

I can't figure out how to script this find.  I intend to use it in my startup script -- unless there's a better way.  I've Googled it and nothing seems to work as I was hoping.  I am using FileMaker Pro 11 Advanced.

 

Any help would be appreciated.  Thanks!

 

Kevin

Posted

I have a database with a date field called "Received".  By default, my users need only see the last six months of records, only occasionally needing to see beyond that.

 

I can't figure out how to script this find. 

 

Try:

 

Go to Layout [ YourTable ]

Enter Find Mode []

Set Field [ YourTable::Received ; ">" & Get ( CurrentDate ) - 180 ]

Perform Find []

 

The 180 days is an approximation, of course. You can calculate the date more accurately by =

 

Let (

today = Get ( CurrentDate )

;

Date ( Month ( today ) - 6 ; Day ( today ) ; Year ( today ) )

)

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