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.

Featured Replies

  • Newbies

I have 4 files: Donors, Donations, Orders, Letters

I have a date on each of these:

Donors - Creation date

Donations - Date of Donation (Auto enter, creation date)

Orders - Date of Order (Auto enter, creation date)

Letters - Date of Letter (Auto enter, creation date)

On the Donor file, I would like to create a field showing the date of the most recent donation, one showing the date of the most recent order, and one showing the date of the most recent letter. (I have all the relationships set up.)

Then I would like to compare the 4 dates and if all of them are 2 years or older, I want to be able to archive them.

Thanks so much for your help,

Blue

Hi,

In each related file, create 2 calculated fields.

c_markrecord = Case(recorddate<(Year(Status(CurrentDate)-2),0,1)

c_markallrelated = Case(Sum(SelfjoinOnDonor_ID::c_markrecord)<1,0,1)

....where the SelfjoinOnDonor_ID is a relationship from the Donor_ID to the Donor_ID within the same file.

Then, in your DonorFile.fp5, use this calculation ???

c_archiverecord = Case(c_markallrelated(FileDonation) + c_markallrelated(FileOrder)+c_markallrelated(FileLetter)=0, "Inactive", "Active").

So you now can archive all c_archiverecord's where the result is "Inactive" (couldhave also be a boolean result (1 or 0).

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.