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.

Script steps to Return to Previous layout

Featured Replies

  • Newbies

Very Novice...Hi I'm trying to create a script so that when I close the window of a particular layout in a related file, I will return to the layout that I can from. Is this done with one of the "Get" functions?

Edited by Guest

No.

The Go To Layout script command gives the option "original layout". That is the layout you were in before the script started.

What IdealData said -- The only thing I was going to add is what the Get functions due (they might come in useful to you at some point)

When you set up your fields you had to define what type of field they were (Text is the default) Sometimes you need to grab data from one field and put it in another, but the two tpes are not the same. So for example let's say I have a Date field. Then I have another field that I want to say "Today's date is 11/21/07" -- The new field would be a calculation, with the result being a text (look at the bottom of the calculation window) and the calculation wold be:

"Today's date is" & GetasText (Date)

Putting things into a text filed usually doesn't give you too much trouble as FMP just puts whatever is there, but sometimes you need to go from a Date to a number or some other similar thing.

There are several ways to do this. The first is Go to [Original Layout] as many people mentioned. Second, you can set a variable for every main window, let say one of main windows will be called "$$OriginalLayoutWindow" with Get (WindowName). Then, whenever you want to go back to this window, you can call it by the Select Window function: Select Window [Name: $$OriginalLayoutWindow; Current file].

So, the easiest way, just perform "Go to Layout ["Original Layout"], however, if you have several Main Windows, make the variables windows...

  • 2 weeks later...

Sadly none of the suggestions after mine will work as you are using FMP 6.

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.