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.

Determine if under Runtime or Filemaker

Featured Replies

Is there a way to determine if the database file is running under a Rintime or the FileMaker application? I was hoping for a status function or something that would help me make that determination.

I have 2 cenarios underwhich my solution will be deployed. 1 will be non-networked situations with no need for the full install of FMP. Bound runtimes will be used. In those situations where multiple computers need to have access to the database, FMP will be used. I need to be able to determine via calculation or script which is being used in order to control functionality.

Thanks for any help.

  • Author

That dosen't seem to do it.

Any other suggestions?

Create a calculation field with Status(CurrentAppVersion) as the calculation, and make sure the field storage option is set to "Do not store calculation results. Running the file in Fmpro should give "Pro 5.0v3" as the result. Runtime should give "Runtime 5.0v4" as the result. The results should be the same running on either Windows or MAC - I just tested it.

I would suggest setting up a Global field (CurrentApp)(text). Then in an open script include the following:

If(PatternCount(Status(CurrentAppVersion),"Pro") = 1)

SetField(CurrentApp) = "1"

If(PatternCount(Status(CurrentAppVersion),"Runtime") = 1)

SetField(CurrentApp) = "2"

Then whatever operations you want to perform based on the version, use the CurrentApp Global field, (i.e. If(CurrentApp)="1", Go to Layout #1, If(CurrentApp)="2", Go to Layout #2, etc.). This way, no matter what records are displayed, the "CurrentApp" data is always available.

[ June 28, 2001: Message edited by: dykstrl ]

[ June 28, 2001: Message edited by: dykstrl ]

Try: Status (CurrentAppVersion)

  • Author

Thank you for your help. You guys were right.

JW

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.