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.

Strange portal link behaviour. Is it a bug?

Featured Replies

  • Newbies

Hello everyone, :)

 

I have found a stange behaviour with filemaker. I have two tables linked by a third one. I want to navigate using the portal. But if I use a script on layout exit, then the behaviour is abnormal.

Please have a look at the enclosed database and try normal, then abnormal layout.

Please tell me if you consider that it is a bug or not. If it is a bug, should I report it to Filemaker Inc. and how?

 

Thanks for your help,

Regards

Possible bug.fmp12

Not a bug.

You're a novice.

You exit script in the middle of your GTRR action. Don't.

2 hours ago, Bilbo said:

Hello everyone, :)

 

 I want to navigate using the portal. But if I use a script on layout exit, then the behaviour is abnormal.

 

What you have is two conflicting events that you handle without regard for each other.

You want your OnButtonClick to done one thing but your OnLayoutExit does another thing.  I have the sense that this is a simplified demo so it may not show exactly what you do in your actual solution.

Events fire in a very particular order (see http://www.soliantconsulting.com/blog/2015/05/filemaker-14-script-triggers for a really good overview and sandbox file) and a script attached to an event that runs after your intended event can produce a totally unexpected result if not handled properly.

  • Author
  • Newbies

The data base I've built is much more complex, with plugins, java, GDT to control external medical devices, etc... I am an autodicact, but of course not a filemaker professional.

Thank you very much for your clarifications and for the time you took to answer. I had understood the mechanism and as you saw identified the problem, but I was not sure that this was a normal filemaker behaviour, as usually scripts do not interrupt other scripts. Now it is clear ;-))

Regards

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.