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.

Open other database via script

Featured Replies

Hi folks,

I'm modifying a customer's application in FMP 4.0 and am stuck on an idea that just doesn't seem to fly.

Basically I start the application by clicking on file1.fm3, on one of it's forms there is a button that calls script1 to open file2.fm3, when file2.fm3 gets closed I would like script1(file1.fm3) to do a re-lookup based on a particular field and can't seem to get it to fly...

I tried this in script1(file1.fm3)

1 - open file2.fm3

(file2.fm3 auto runs a script to display one of it's forms

that has a close-file button on it)

2 - go to a layout

3 - re-lookup, no dialog, a field

Step 1 works but the layout does not get focus, without 2

and 3 the layout does get focus

Any help would be appreciated

Hi, Marc! I haven't used scripts much, but I think I have had db's open other db's and continue with their scripts okay. All I can recommend is that you try to track the scripts as the execute to see where the problem is. Add various simple script commands at various locations in the scripts and see if they all execute correctly. Maybe specifically introduce things like ENTER BROWSE MODE and stuff, too, even if they seem to be unnecessary.

If I get a chance later and you are still stuck, I'll see if I can simulate that in FMP4 at home.

--ST

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.