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.

Opening a file based on Popup List

Featured Replies

  • Newbies

Hello,

Is it possible to open a specific database file based on a users entry in a popup list.

i.e. I have a list of people: Barry, Sandy, Gary, each has a seperate database. I have set up a main page with a Popup list of their names once they choose their name I would like to switch them to another database ie. barry.fp5

Thanks

Create a Global field to enter the data. Then create the value list.

The script would look something like this:

If ("gOpen = "Barry"")

Set Field("gOpen","")

Open "Barry.FP5"

(or if you want to have an open script run:

Perform Script (Sub-scripts, External:"Barry.FP5()" [Open Script]

End If

Repeat the If/End If for each file associated with the pop-up list.

On the layout, next to the gOpen field, place a "GO" button to launch the script.

Try this script:

code:


If [ UserName = "Barry" ]

Open [ Filename:

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.