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.

Not returning to original script

Featured Replies

I had a database in FM6, converted now to 7.

There's a script in it where, somewhere in the middle another script is called in another database. Problem is that it seems that filemaker doesn't want to return to the original script, but keeps 'hanging' at the last line of the other script.

If the subscript hits a Halt Script, it will stop the nested script process there.

If that's not it, maybe you could post the relevant scripts?

  • Author

These are the two scripts I'm talking about,

Script one:

If[isEmpty ( Post-op Evaluation::${Study-ID} )]

Copy [select; Study::Study-ID]

Set Field [Post-op Evaluation::Study-ID]

Perform Script["script 2"from file: "Post-op Evaluation"]

End if

Go To related Record [lot of text, but it's working]

Script 2:

New record/Request

Go to Layout["Post-op Evaluation"(Post-op Evaluation)]

set field [Post-op Evaluation::Timpepoint; 1.5]

Paste [select; No style; Post-op Evaluation::Study_ID]

Script 2 stops at the last line, concluding in not going back to script one and that filemaker hasn't finished making the record yet (when I perform the scipt again (from file 1) he makes another record in file 2, which I don't want.

Only when I make sure the record is made in file 2 (actively press 'something'), and I perform the script from file 1, he goes to the lay-out in file 2 (the script will now not perform the stuff between "If" and "End If"

Try opening the record, doing the paste, then closing (commiting) the record.

Even better, why not get rid of the copy and pastes and use Set Field instead.

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.