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 not working

Featured Replies

I'm new to FileMaker's TOs, having jumpted from version 6 to 8.5.

When I ran a script in v6, from the current file to a related file, I would have to start in the current file, and run and external script in the related file.

However, when I run a script in in the version 8 file, but in a different TOs, it works properly in one TO, the one that I created it in, but not when I try to run it from A Related TO. It doesn't completely work properly.

The script is opening a related file, and going to a layout on a choosen TO, that is furnished in the Current File.

However, when I run it from a Related TO, it doesn't go to the correct layout in the Related File.

I'm thinking that since the Related TO is two relationships away from the file, that it isn't completing because of it.

Hope that you can understand the problem, if not let me know what else you might need.

Thank you for you help in advance.

K

Edited by Guest

Are you using GTRR (go to related record)? This would be the problem. It behaves different on different TOs.

Are your two TOs connected in one TOG or are they unrelated? In the later caser your script can't work at all and will give an error.

-jens

  • Author

Hi Jens,

Thank you for your quick response.

I'm not sure I'm understanding your points, so I'll need to investigate my files a bit.

I know what a TO is, but what is a TOG?

I need to go out of town today, so I'll check my files later, and then check back and report.

Thanks Again for your help

K

TOG - table occurrence graph

the whole graph may be split up into separate 'spiders' which are unrelated. A GTRR step from a TO in one TOG towards a TO in another TOG will fail, because there is no path between the two TOs.

But even if you act in one single TOG, the GTRR may fail or produce an unexpected result.

-jens

  • Author

Okay, I think I'm understanding what I did wrong.

Thank you for your help.

K

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.