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.

Restrictions

Featured Replies

I have 2 filemaker files one is my main db the other a db i open from the main db. The problem i run into is that may secondary db has a startup script that gets ignored by my opening comand in the main db.

Main db -> Click -> Open 2 db file -> ignores startup script.

Any ideas?

Your second database need to have its own Start up script, that will be called in its document preference.

HTH

Lee

  • Author

It has when i open the second db it works perfect but if I open it through the first db it does not run the startup script!! =(

Thomas

if your 2nd db is opened by a script in the 1st db, then its opening script will run. if it is opened automatically because of a relationship for example, then the opening script will not run.

hope that helps!

cheers,

wendy

  • Author

It is going through a releationship. Is there a way to make it work with a releationship??

Thanks

no, that's just the way FM works unfortunately. if it needs to reference a db because of a relationship, it will do just that & nothing more.

that's why it's best to put steps in your main db's opening script which explicitly open any other required dbs. wink.gif

cheers,

wendy

  • Author

So I should make db open db2 ar startup.

Great thanks a lot!! =)

Thomas

Also, be careful not to have a related field to db2 on the layout which db has showing when it opens.

  • Author

Hmm why??

Sorry for my questions!!

Thomas

You want to avoid the second DB opening automatically due to a related field being visible (that's Queue's point.) Really, the way to deal with it is to have the startup script in the first DB call the startup script in the second DB anyway - just to be sure.

-Stanley

  • Author

I tried that but, it seems I don't know how to do that.

I have a script opening the db2 from the portal row. "Go to Related Record [show, "RecordIndex"]"

Thats my script so I should include the startup action here already?? And what startup action can hide the toogle window, or zoom?? Sorry totally confused!! +(

Thank you!!

Rather than have your Main db open db2 why not just call db2's startup script directly in your main db's startup script. Like:

perform Script [external, db2:StartupScript]

This will automatically open db2 when you call it. So you don't have to explicitly do an open command.

  • Author

Cool that worked!! Thank you all for helping me!!

Thomas

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.