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.

Selection of records for mailing labels

Featured Replies

  • Newbies

I am VERY new at FileMaker (use version 4.0 for windows). I have a database which contains the fields "FirstName" and "SpouseName" and have created two different layouts for printing mailing labels.

Layout #1:

<<Firstname>> and <<SpouseName>> <<LastName>>

<<Address>>

<<City>>, <<State>> <<ZipCode>>

is designed for printing mailing labels for records which contain data in both the "FirstName" and "SpouseName" fields and contains the word "and" to seperate the two fields on the mailing label. (i.e. Linda and Randal McCurry)

Layout #2:

<<Firstname>> <<LastName>>

<<Address>>

<<City>>, <<State>> <<ZipCode>>

is designed to print labels a single individual (i.e. Robert McCallister)

I have worked for several hours to develope a script which would find records based on if the "SpouseName" field was empty or not and use the appropriate Layout to print the mailing labels.

If I use Layout #1 and print I get "Robert and McCallister" on the mailing labels for the records in which the <<SpouseName>> field is empty and if I use Layout #2 I am unable to create mailings labels addressing both parties.

I assume/believe that the "Perform Find" script step may be appropriate part of the desired script but (if this is the case), I am unable to figure out the appropriate If Then Else statements need to preform the desired result.

I would appriciate any help in achieving my desired result of finding records based on if the "SpouseName" field was empty or not and use the appropriate Layout to print the mailing labels.

Thanks,

Russell Atchley

[email protected]

Why create 2 layouts?

Create one layout and create a calculated display name...

NameDisplay:

Case(isEmpty(SpouseName),FirstName & " " & LastName,FirstName & " and " & SpouseName & " " & Last Name)

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.