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.

How to stop line items file from opening

Featured Replies

Hi there!

I have these two files Order and Order_Item database. A script is run in Order database to execute a script in Order_Item database that then does a couple of things. The problem is that the Order_Item database goes to the front of the desktop which is annoying to the user. (It moves in front of the Order_Database that the user is working on)

Any idea on how to stop this behaviour? mad.gif" border="0

Any tips?

Thanxs

Steve Griff

Hi Steve,

In you Order script, before the lign "Execute sub-script" (from Order_item), I would place an Open Database lign and ask to open it in background (checkbox on the left). It should work. Tell me...

Olive smile.gif" border="0

  • Newbies

Another way to do it is to add 'Go To Layout (Original Layout) at the bottom of your main script

Olive is close: put a Freeze Window step in the Order script then a Perform Script [external] step,. but don't use Open.

In the external script (in the line Order_Items db) place a Freeze Window step at the start and make sure the script doesn't refresh the screen anywhere (it's OK to change layouts just don't select refresh). Finish up by externally calling a script in the first database that finishes with a Refresh [bring to front] script step.

Open script steps are not needed before calling external scripts. The Open command will cause the startup script (if any) in the new database to run which may resize the window or refresh the screen unnecessarily. Just calling a script externally will open the file but not run the startup script.

The Freeze Window step prevents FMP from updating the display, and this alone can speed up the execution of scripts dramatically. I'm usually liberal with Freeze Window steps and very careful when and where I refresh the display.

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.