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.

Scripting a 'Back' buttom

Featured Replies

Hi,

Am trying to script a 'Back' button that works like an internet browsers' 'Back' button for a solution I've made for a non-Techy friend. Came across a problem that stumped me.

The "Go to layout" command only takes a layout number, so I can't ask it to go to a layout by name. Using a 'Go to Layout' by number is fine for a "Back" script if I'm navigating in the same file. Trouble is, the solution is currently using 12 files.

If I go to another file, even though I've got the File name and the layout name along with the layout number, can't work out a way to tell FileMaker which file to go to before it goes to the layout number.

Would appreciate any help that could even give me a glimpse of an idea.

Thanks in advance.

Partha Dasgupta

Maybe you could have a 'central' file which just has Global fields for keeping track of file and layout navigation.

All the best.

Garry

  • Author

Hi,

I do have a central file where I set the File name, the layout name & the layout number.

Issue is, FileMaker's "Open" command can not take values from a field, and must be pointed to a file.

So how do I go to a layout in another file ?

TIA, Partha

  • Author

Thanks Garry Claridge. Got it.

In the central file, created a script that checks the name of the file I've come from that I'd set in a Global field.

This looped If script goes to the relevant file, and then the layout number.

Thanks again.

Partha

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.