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.

Go to Field NOT WORKING?

Featured Replies

Here is another description of the problem:

I have a table called Members. On this table (in a 1:many) is Dues which is a portal.

The fields on the Dues portal are: DATE DUES PAIDYEAR

Date has an ONOBJECTSAVE trigger that runs a script called DuesDefault.

DuesDefault looks like this:

Go to Field PAIDYEAR -- This works

IF ---

setfield (all setfields work and are on the portal... but still on Members.

Else--

setfield

ENDIF

IF---

setfield

Else

setfield

ENDIF

>>>As I run Debugger, I can see that the Go To Field sends the cursor to PAIDYEAR but...

when the script falls out of the last ENDIF, the cursor jumps to the DUES field? A subsequent GO TO FIELD PAIDYEAR DOES NOTHING??? I have also tried Setfield. Nope.

So far I have been baffled by this for 3 days. Pleazzzzzzz, does anyone have idea how I can get the cursor to go to PAIDYEAR at the end of the script?

ishot-480.jpg

what's the purpose of the blank Set Field?

For good measure remove the tab order from all fields if you're not using it.

Suggest you post the entire script; or a copy or clone of the file. As mentioned by Wim; the setfield with no target makes no sense.

Set field does exactly that; sets contents of a specified field to a specified value. The field does not have to be on the layout and the set field script step has no relation to navigating to particular fields.

  • Author

Suggest you post the entire script; or a copy or clone of the file. As mentioned by Wim; the setfield with no target makes no sense.

Set field does exactly that; sets contents of a specified field to a specified value. The field does not have to be on the layout and the set field script step has no relation to navigating to particular fields.

RE: Setfield. I did that as an act of despiration to see if it would contribute to a solution. The problem remains that Go To Field doesn't work -- unless I put an Exit below it. (Exit is the last instruction in the script). Why should that work? (I wonder if my FM 11 03 upgrade screwed up something?)

Pointless to discuss until we see your entire script or your file. Basically zero chance of any other problem except for a script logic error problem.

Further, you should understand the exit options for onObjectSave script triggers:

http://fmhelp.filemaker.com/fmphelp_11/en/html/script_trigg.38.6.html#1028606

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.