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.

Print only 1st occurence of same value

Featured Replies

I'm fairly new to FM and have a database with addresses (only 1 table) listing addresses such as:

House Apt

44 1

44 2

44 3

However, when I print I only want to see house # (44) on first record (Apt. 1)

I assume I need to handle this in layout, but now sure how. Thanks.

Edited by Guest

You could make a calculated field:

Case( Apt = 1 ; House )

... and use that field on your print layout instead of the actual House field.

  • Author

Okay, I can see how this would work. Can I set up calculation with "or". For example, in addition to 1, 2, 3, I may also have apartment numbers such as 1A, 2A, 3A; in this case I would also like House # to print. Therefore, how do I handle multiple conditions (also for example single family dwelling where apt field is blank- house # should always print in this case)

Thanks.

Case(Left(Apt;1) = 1 or IsEmpty(Apt); House)

  • Author

I just figured out how to set multiple conditions, this will work great, thanks!

Case(Left(Apt;1) = 1 or IsEmpty(Apt); House)

That will also be true for Apt# 11...19 (and Apt# 100...199, etc.). Perhaps a better test would be:

Case ( GetAsNumber ( Apt ) = 1

But I would go with a simple subsummary by House instead.

Dang. You're right comment on both parts.

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.