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.

Not going to external layout

Featured Replies

I have a script for my login file that checks to see if it is a valid login, if it is, then it performs a certain external script depending on what 'unit' the person is in. I have a custom dialog popping up to fill in 'Username' and 'Password' fields in the login file. The login file has a relationship to the user_db by the field 'username'. The script looks like this:

..............................................

- Go to Related Record (user_db)

- if (user_db::password = password)

- set field (g_username = username) - g_username is a global set when someone is logged on. If g_username is blank, then they are not logged in... An open script in every file checks to see if the g_username is blank, if it is, it closes the file, and takes the user back to the login page.

- if ( user_db::unit = "MIS" )

- perform script (external script)

- end if

.................So on, soforth..............................

The external script is in a different file, and is basically just a 'Goto layout' script. Before I used the custom dialog for username and password, the script would run and then stay at the layout in the external file. Now, it runs the script, but keeps the login page on top.

How can I make the external script run and keep that layout on top, i.e. the current layout visible?

Use the Halt Script command in the external script to stop all the other parent scripts from running.

  • Author

Thanks, that worked smile.gif

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.