Skip 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.

A beginner trying to create Mailing List script.

Featured Replies

  • Newbies

I use FileMakerPro 5.5v1 for my mailing lists (which I send as a file to a mailing house who will ink-jet our envelopes & catalogs). I'm a beginner at all this. If someone could please help me with the following task (?script?), it would be much appreciated:

I have a primary delivery address field (ADDPRIM) and a secondary address (ADDSEC) field. How could I set up a script that would automate the following for each of the records in a given mailing list file:

In each given record of my list file, if the ADDPRIM field does not contain data, then move the data from the ADDSEC field to the ADDPRIM field. (But if both ADDPRIM & ADDSEC fields contain data, or if only ADDPRIM contains data, then leave that record as is.)

Remember that I don't understand much about FMP, so if you are kind enough to offer advice, please give your instructions step-by-step. Thanks for any help on this!

Best wishes,

-zimmy

www.zimmy.com

Try the following script

Show All Records

Go to Record/Request/Page[ First ]

Loop

If [ IsEmpty(addprim) ]

Set Field [ addprim, addsec ]

Clear [ addsec ][ Select entire contents ]

End If

Go to Record/Request/Page[ Next, Exit after last ]

End Loop

Go to Record/Request/Page[ First ]

Exit Record/Request

I would suggest trying this on a copy of your database to make sure that it behaves correctly.

Or,

you could create a mailing label address that is a calculation

If (not IsEmpty(AddPrimary), AddPrimary, AddSecondary)

and repeat for each field required for the address down to

If (not IsEmpty(AddPrimary), AddZipPrimary, AddZipSecondary)

Then, you just export the mailing label fields.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.