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.

ges wilManipulate a container field..

Featured Replies

A newbiee question...

I need to set up a container with an image that will change depending of choice from a script/calculation...

The images are logotypes for flightcompanies and it should be used for printing out electronic tickets where I want to be able to choose the flightcoompany name from a list and depending on that choice I want a corresponding logotype to be inserted in a field on a ticket template layout. There will be a numerous amount of flight companies why it doesn't feel so good to make a separate ticket template for each and one of them since there then will be hundreds of templates.

Is there any easy way to do this?

... so each flight company has different sets of logos?... anyway, assuming the template was the same other than the logo which would change... you could specify your logo field to be a calculation with result container... then you could either specify an extremely long winded case statement...i.e.

Case( Airline = "Miami" ; field holding miami logo ;

Airline = "LAX" ; field holding LAX logo ;

Airline = "Qantas" ; field holding Qantas logo ;

)...

but the easier way to do it would be to set up a small table called "logostore" with the airline name and the logo for that airline

i.e. 2 fields

AirlineName (txt)

AirlineLogo (container)

anyway... then you could just put a global field in your original table called "currentairline" or something... relate this global field to your logo storing table by airlinename... then when you execute your script to go somewhere... set the field "currentairline" to your desired airline...

and instead of setting the calc field to be a case function... set it up to be result container with calc being just logostore::AirlineLogo

genx

  • Author

I think that a big problem for us newbiees is that we tend to make simple soulutions a littlebit too complex for ourself. Your solution seems reasonable and a lot easier then what I tried to acomplish with scirpts, cut and paste etc. Thanks. I will try to solv this according to your suggestions.

...I have tried it and I got it to work :P)

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.