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.

adding field values across records in a portal

Featured Replies

I'm working on a donation history database and I can't seem to figure out how to do this. Basically, I have a record with the donor's bio info, and a portal displaying his/her donations. How do I sum all of his donations and have it appear in the bio info record? Hope this makes sense. Thanks ahead of time.

Donation Total (calculation, number) = Sum(DonaHistoryReltionship::Amount)

-bd

quote:

Originally posted by OASES:

I'm working on a donation history database and I can't seem to figure out how to do this. Basically, I have a record with the donor's bio info, and a portal displaying his/her donations. How do I sum all of his donations and have it appear in the bio info record? Hope this makes sense. Thanks ahead of time.

SUM ( RelationshipName::cDonationTotal ) in a calc field will sum the donations.

[ July 19, 2001: Message edited by: CaptKurt ]

  • Author

Thanks guys for the answers. I guessed I missed that in the manual. I was wondering if it was possible to have a field that keeps track of donor level (high donor, low donor) based on the calculation of the sum what they have given. So if a donor has a sum larger than, say $1000, they would be classified as a medium donor. This sounds like it requires a script, but I don't want the user to click a button to update that information every time they add a donation to the record. My thought is that the only other alternative would be to make that script run automatically when that layout is displayed, but I want to get around that somehow. Is there another way?

quote:

Originally posted by OASES:

Thanks guys for the answers. I guessed I missed that in the manual. I was wondering if it was possible to have a field that keeps track of donor level (high donor, low donor) based on the calculation of the sum what they have given. So if a donor has a sum larger than, say $1000, they would be classified as a medium donor.

cDonationLevel = SUM ( DonationsByMember::cDonationTotal )

cDonorRank = CASE ( cDonationLevel >= 1000, "High Donor", cDonationLevel < 1000 and cDonationLevel >= 100, "Medium Donor", "Low Doner" )

[ July 19, 2001: Message edited by: CaptKurt ]

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.