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.

Automatic Layout Change

Featured Replies

Can anybody tell me if it is possible to:

when i change country through the drop-down list and when i press the button print, i will have the right layout.

For example; i have a costumer who lives in france, so i select the costumer and i have all the data of his address and when i press PRINT i want to have the layout for france.

It is doable... but what depends is how "user" friendly you want to make it.

ie, pull down value = layout name.

you could make a table that could store the lang you have created in your DB. If I get some time, I will look into that...I would like to use that option too in one of my DBs.

Ok, looks like it wouldn't be too bad at all. if you didn't want to go a head and make a seperate table for languages, then you could do:

go to layout[report table:languagefield]

//this is a calculation setting in the pull down menu. The calc would look something like this:

case(

langField="English";EnglishLayout;

langField="Spanish";spanishLayout;

frechlayout

)

now EnglishLayout being the name of the layout...

Are you familar with case() statements? the last result is if the upper calculations are not true, then do this last one for everything else.

So, then the script would continue with the print() script function and anything else you needed it to do before returning to the original layout.

does that help?

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.