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.

Container fields for LED indicators.

Featured Replies

Hi.

I aplogise for boring some of you with a simple question, but between the three FmPro books I have here, I cannot work out how to do this.

I have several small images (16 x 16 pixels) that are essentially LED indicators. I want to be able to use these in rows of data to indicate various conditions of data - eg overdue dates, inactive job etc etc. There are, lets say, 7 records (images). 1 off/inactive LED, and 6 brightly colored ones.

I can create a table with a container field in which I can insert those images into, but cannot quite get my head around how to use them again.

As each record may have 4 indicators alongside the text field to display various conditions, Im not sure how to set conditions on the container fields in the layout to display the indicator as required.

I dont expect a full-on solution, but some tips as to how I can choose various graphics under various conditions. A pointer to a sample database or web page would be great.

Thanks peoples.

Greg

Put the images in a global repeating field (in any table). Use a calculation field, with Container as the result, to select the repetition number, e.g.

GetRepetition ( gImages ; Case ( ; 2 ; ; 5 ; 1 ) )

You could even use one repeating calculation field to select all 4 indicators.

BTW, using colored text bullets instead of images would be both simpler and faster.

  • Author

Hi.

Thanks for that, I will givve it a shot.

Cheers,

Greg

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.