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.

Setting fields

Featured Replies

i know this a dumb question but using a script how can you set a field to the value that was in the last layout you visitied

eg i start at Layout one and field one=2

i click a button it will set field one =2 in a different layout

Use a global field as a holder for the value, switch layout and set the field with the global value. Something like this:

# sets the global with the value from field one in layout 1 with

Set Field [ global ; field one ]

# switch to the next layout with

Go to Layout [ layout2 ]

# set field one in the new layout with the value from global with

Set Field [ field one ; global ]

# optional - use Go To Layout again to switch back.

# if you don't want to see this happen begin with Freeze Window.

Hope this helps.

Instead of storing the data from the first layout in a global field, you can also pass the data through the optional script parameter.

For example, in your script...

Go to Layout 2

Set Field [ fieldone ; Get (ScriptParameter ) ]

  • Newbies

Hi,

This is a related question: how can you do the same thing, but with related databases? I want to copy a field from the current record the user is entering into a field that is in another database.

eg-

enter data into tapes.fm7-field1

hit button to activate script that switches to titles.fm7 and creates new record in title.fm7.

copy tapes.fm7-field1 into titles.fm7-field1

Sorry if dumb, still trying to get my head around filemaker. Thanks.

Simliar approach. Create a relationship between the two files. Use a global field or try a parameter open the file, add record, set 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.