Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Find using date dependant upon radio button value

Featured Replies

  • Newbies

*Disclaimer* Please forgive the newbness of this post.

Developing a database (first time Filemaker user) and I need to perform a find based on "Date Received".

Basically, I have 4 reports that are due 15, 30, 45, and 60 days _after_ date received. I need to script a find that will search through the files and display the records that are within the < 15, < 30, etc. time frame.

To make it a bit easier I'm probably going to create 4 layouts for each search, but am having a problem figuring out the calculation. Also, I do not want to show records that have been "closed".. This field is a radio button.

Sorry if this is confusing... Any thoughts?

Version: v6.x

Platform: Windows XP

Here's a way to do this for 15 days. You can use one layout and change the script step for 15, 30, 45 & 60, perhaps with an If Test. Make sure the layout has the fields used in the script steps below.

I assume that RecordClosed=1 means the record is closed.

Set Field ["g.Date2Check", "Status(CurrentDate) - 15"]

Enter Find Mode []

Insert Calculated Result ["DateReceived", ""<=" & DateToText(Status(CurrentDate) - 15)"]

Set Field ["RecordClosed", "0"]

Perform Find [Replace Found Set]

Is this what you wanted?

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.