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.

Script to add records via portal?

Featured Replies

  • Newbies

Greetings all,

I've got a new FMP7 database that includes a table for DONORS, MAILINGS, and MAILINGSRECEIVED. The last table manages the many-to-many relationship for donors and mailings, and includes fields for the DonorID and the MailingID.

On a layout based on DONORS, I'm looking at a portal of MAILINGSRECEIVED and see the list of all mailings that have been sent to that donor. I can add records to this portal. This all works just fine - so far, so good.

My question is whether I can use a script to add records to this MAILINGSRECEIVED table, one each for a group of donors.

The problem I'm trying to solve is this: I have a group of, say, 400 donors that I have found via multiple finds in the DONOR table. I want to mark each of these records so that I can tell that they've received my next mailing. I can do this manually, but I'd like to automate it.

What I'm envisioning is a solution that would ask the user what mailing the group would receive. The user would select a mailing (from a value list generated via the MAILINGS table), and then give FMP the go-ahead to create a record in CAMPAIGNSRECEIVED for each donor in the found set, for that mailing.

Is this possible? Or is there another / better way to solve this problem?

Many thanks to anyone who might have some help to offer.

Kathy

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.