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.

Cancel Open Script

Featured Replies

I can't seem to find a solution to this dilema and I thought in the past that I could accomplish this. Does anyone know how to Open a file with the Open script disabled?

FileMaker Version: Dev 6

With v.6 the script runs when you "Open" the file, but not when the file is accessed via a relationship or by Perform Script [external]. What I do with my Opener files is to create another tiny file, which has only the master password. I generally create a Constant field, and a relationship to a Constant field in the Opener file. I put the related Opener::Constant field on the layout. Then when I open the "Key" file, the Opener file is opened hidden. I go to the Window menu and drop down to it.

I only give the Key file to a knowledgeable person at the clients business, who knows how to use it to redirect or otherwise modify Opener files.

In v.7 the On Open scripts run whenever a window of the file opens, not just when the file is "opened." This makes it somewhat difficult to get to the file without running the script (which is a "feature," better security). I've only had to do this once, and was able to running a Halt script in the Opener. But it wasn't easy; don't think I really have a "method" yet.

  • Author

Thanks, but here is my problem. I have a file with about 20 relationships and it runs on a server. Somewhere the relationships got corrupted and the open script opens them all. When the file tries to open it crashes. I need to figure out a way to bypass the open script.

Create a totally new file. In this new file, create 1 field. Then create a relationship to the file you want to bypass the open script - it doesn't matter if the relationship even works, it will still open the file without running the opener script.

As dykstrl (what a name ???-) says, create a file. You could create relationships to each of your other files. It could be trouble if one of them has a portal or related field using a corrupted relationship on the current layout. As soon as you drop down to the window it may crash.

As I said, you can also use Perform Script [External,""]. It would be great if every file had a script "Go to Layout ["Blank"]" script. Then you could call that script via Perform Script [External,""]. If you have any script that goes to a "safe" layout you could call that.

But I guess you want to know which relationship is corrupt. It could also be a graphic or layout that is corrupt. Do you know which layout is causing the crash, or is it more widespread?

Do you have a backup that is functional? Then you could recover the files and import the data. The files that keep crashing are going to be unreliable to use even if you do manage to isolate and fix the problem.

  • Author

Yes, I have back ups. Didn't really want to go that route... I thought I remembered a keyboard shortcut from way back that allowed you to open bypassing the open script. Oh well, thanks for the alternates.

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.