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.

Case Statement Help

Featured Replies

Novice needing help with what I believe should be a case function. Six fields: Photog One, Photog Two, Photog Three, Unit One, Unit Two, Unit Three. If I have a name in Photog One and a name in Photog Two, Unit One should read "A/B" and Unit Two Should Read "B/B". If I have a name in Photog One, Two and Three, Units should read "A/C", "B/C", "C/C". If I only have one photog on the job, Unit one should read "A/A". I've tried working with (not Is Empty) calc but can't make it work. Any suggestions greatly appreciated.

If I understand you correctly, these should work:

Unit One =

Case(

Here's a cute way to do it -- define another field, PhotogCount:

Count(Photog One, Photog Two, Photog Three) - 1

Note: the "-1" above is so that we can use the Choose() function below, which looks for 0 as the first result...

Unit One = Case(not IsEmpty(Photo One), "A/" &

Choose(PhotogCount, "A", "B", "C"))

Unit Two = Case(not IsEmpty(Photo Two), "B/" &

Choose(PhotogCount, "A", "B", "C"))

Unit Two = Case(not IsEmpty(Photo Three), "C/" &

Choose(PhotogCount, "A", "B", "C"))

[ February 18, 2002, 05:36 PM: Message edited by: Fitch ]

  • Author

Thank you both for great solutions! FileMaker not only is a great program but it attracts the best, most helpful group of people. This formum is a godsend for the learners among us! smile.gif

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.