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.

Featured Replies

Hi,

 

I have a FileMaker database that is acting as an archive for items deleted from our primary database (not FileMaker). Effectively, the 'Home' layout shows a fairly standard set of contact data. Below that, I have a Tab control, each with a Portal showing related records (so the tabs are Orders | Subscriptions | AdvertisingFutures | Company Details | Mailings )

 

I would like to alert the user to the fact that there are related records somehow. Whether conditional formatting is the best tool for this I'm not sure, but either way, I'm torn between (and don't know how to implement) the below scenarios;

  1. Disable a Tab if there are no related records (portal record count = 0)...perhaps greying out the Tab title as a visual indicator.
  2. Enable a Tab if there are related records (portal record count >= 1) and colouring the Tab title as a visual indicator.
  3. Perhaps more simply, creating visual clues on the main Contact screen which show "True" or are highlighted bright green if there are related records. This would mean creating fields in the Contact table like 'txtOrdersTrue', 'txtSubscriptionsTrue' and so on and conditionally formatting those appropriately if there are related records to view.

I have searched around and can't quite find what I'm after so any help much appreciated.

Just test with

=  NOT IsEmpty(relatedTable::related_foreignkey)

 

If you test against the foreign key (the match to the parent record), you will get "False" if there are no children (portal) records. You will get "true" if there happen to be 1+ related children records. IsEmpty() function is the proper one for this test. Remove the "NOT" if you prefer the reverse test (True if there are NO related records) in your conditional formatting dialog.

  • 1 month later...
  • Author

Apologies for not thanking you for this sooner. Works a treat.

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.