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 can i tell if a file is open?

Featured Replies

hello,

i am trying to add a conditional to my startup scripts.

if main.fp5 is NOT open

...show message "Please start from the Main Menu"

...quit application

else

...do normal startup stuff

end if

in other words i cannot have people starting from the clients.fp5 file, they have to start from the main.fp5 file. how do i do this? thanks.

Make an startup script in clients.fp5 that simply call the stratup from main.

(this will work only if clients is opened in ortodox way, ie double clicking or open step from an other file)

Also you could use design function DatabaseNames to see what dbs are opened

Dj

  • Author

well shizam! i never looked into/knew about DatabaseNames. that allows me to determine if the file is open very easily. thanks a lot djgogi!

Because some operating systems capitalise file names differently to others, the calculation for the IS statement should be something like:

PatternCount(Lower(DatabaseNames), "filename") > 0

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.