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.

Save layout

Featured Replies

Hi guys, I came up with a bit of dilemha and wasn't sure exactly how to solve it.

Okay, there are basically two list layouts. They are both near identical, except one provides summaries for sorting, and the other does not. Each of these has a link to one of four other layouts. These layouts are all capable of going to any of the other four layouts. When they are done, regardless of which of the four layouts they are on, I would like to be able to return to the original 1 of 2 layouts they had chosen. (The first two).

Basically, i want to be able to save which layout I am on when I leave the two layout stage.

Thanks a lot!

Jim

Create a global field that will hold the name of the layout. The links to the other 4 layouts need to be scripted rather than a direct link to the other layout. That is, don't make the link a simple 'Go to Layout' button, but have it execute a script with the 'Go to layout' command. As part of that script, include a Set Field / commit command that will write the name of the current layout to the global field using the Get(LayoutName) function in FM7, or Status(CurrentLayoutName) in FM6. When exiting one of the other 4 layouts, run another script that goes to the layout which is stored in the global field. Use the Go To Layout [Layout Name by Calculation - gYourGlobal].

That should do it.

Exit Report:

SetField [gYourGlobal; Get(LayoutName)]

commit record/request [no dialog]

Go to Layout [The Target Layout]

Re-enter report:

Go to Layout [Layout Name by Calculation - gYourGlobal]

Note that if users jump around layouts by pulling them from the status area, this can get all screwed up. I never let them do that, and script all layout changes.

Good luck,

Dan

  • Author

Thank you so much, that was exactly what I needed! Thanks a million!

Jim

  • Author

Hi there, sorry, one more thing, im afraid when I attempt to use the save layout function it fails to interpret the data from the global field. Specifically, it wants a number not a name (recall I am using Filemaker 6) but even if I enter it manually, it still fails to work. However, when I attempt the function using a normal field it seems to work. Does anyone have ant suggestions? Thanks a lot,

Jim

Set your global to Status(CurrentLayoutNumber) instead, then you can use Go to Layout [layout number from field].

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.