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.

On Opening a layout

Featured Replies

Advice needed please.

I want my cursor to go to a certain field when the layout it belongs to is opened.

I thought there may of been some sort of on open section in scriptmaker to tie it to the layout but cannot find anything there.

Thanks in advance

h

The Go to Field instruction should work.

You could use a generic script with some script parameters to determine the layout and field.

  • Author

Thanks for the reply IdealData.

I understand that the go to field script will do its job. But this way would mean me duplicating this script for every layout I want to reach from the buttons on my main page.

Pity there was not an option in layout setup that would place the cursor in the field choosen on layout open.

Thanks for the reply again though

h

Your navigation buttons should be tied to scripts. The scripts then can switch the layout and go to a field.

But this way would mean me duplicating this script for every layout I want to reach

A single script can do it all:

Go to Layout [ Get ( ScriptParameter ) ]

Go to Next Field

This will switch to the layout specified in the script parameter, then move to the first field in the layout's tab order.

  • Author

Thanks for all replys

I will upload my database and hope one of you good guys can tell me if I am doing ok so far. Please understand this is my first atempt at a filemaker database after quite a lot of reading and veiwing vids.

Tips welcome :

I have tied to of my butons so far to their own script to help send the cursor to my search field on openig of the layout

h

test_v1.zip

every layout is given a number. I.e. the number of your specific layout is seven and the fieldname you want the cursor to get in ist "field_A". Try this:

if

Get(LayoutNumber) = 7

GoTo (field_A)

end if

(I use german version of FM, so I#m not sure, that english functions are spelle coorrectly)

  • Author

Ahh!

So thats how its done. I'm learning more as I go along.

Hey thanks raybaudi. Nice of you to take the time to sort me out. :waytogo:

h

Create an account or sign in to comment

Important Information

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

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.