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.

Using a value list pop up to navigate

Featured Replies

Is it possible to use a selection from a value list pop up to jump to another file? It would sure beat having a specific button for each db you need to navigate to.

TIA for feedback

EasyEdE

while im waiting...

would be easy enough to use value list and 1 button to do this. have global text field "Navigate" formatted with value list of all layouts to go to. have button next to it labeled "go" or something that runs script:

if [Navigate = "invoice"]

perform script [subscript, external "invoice.fp5"]

end if

if [Navigate = "reports"]

perform script [subscript, external "reports.fp5"]

end if

and so on for each value in the value list.

where extrenal scripts would be a simple "go to layout [desired layout]" in the target file.

select from value list, hit "go", and you're there.

  • Author

First of all - thanks for your response. It is a clean straight forward solution, but @#$!@#$ I can't get it to work. I noticed in the syntax of the script that the "if" statement had some quotation marks that appear automatically, i.e.

If("Navigation = "Companies"")

Perform Script [sub-script, External: "Companies.fp5")

End If

I call the script Navigation and set the button to execute the script. I make a selection from the field Navigation, click on the button and nothing happens. I ran the debugger and found no bugs. I've take the liberty of attaching a substantially reduced version of the file that contains the full script and button but little else.

Any and all thoughts will be appreciated.

hmmm-

did you create the external scripts in the files to navigate to?

also- where did you attach the files? try sending them to me directly (please make them small as possible, I am on dial up this weekend) at [email protected]

cheers

I think I just thought of what the problem is-

you need to end each of the external scripts with a "halt script"

what is happening is that it is working fine, going to the other file and layout, and then returning to your original file and layout to evaluate the rest of the "if" statements- that is why you cant find a bug.

also might work using nested "else if" querys in the navigate script, but I hate the way those things look.

HTH

  • Author

You are correct. Actually I just sent you an email with the corrected script using the nested if/else solution and it works just fine.

Thanks again for the way to navigate using a pop-up.

EED

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.