Is there a way to specify a layout upon opening a file in Filemaker Go 15 that is different than the layout on open by users of the full version?
When your startup script runs, use something like:
Set Variable $AppVersion = Get ( ApplicationVersion )
If ( PatternCount ( $AppVersion ) ; "Go" )
Go to Layout ( Layout for FM Go users )
Go to Layout ( Layout for other users )
look at one of the starter solutions. Contacts for example, has this in File Options:
OnFirstWindowOpen -> "Trigger | On First Window Open"
This script is called when you open the database the first time and it does this (see the full script for details):
1. get the platform (web, FMPro, FMGo - including device)
2. then BRANCH to various layouts based on the platform and device
Since the layouts are specific to the desktop, tables or phone in this database file, the branching shows what you want.
TIP: you can use the same type of logic for Web as well, if you need specific layouts for that. Or branch based on login permissions. Test & branch - very powerful!
Thanks, I'll give it try!
since "Go" can be iPad or iPhone, the extra test and branch is needed as in the Starter solutions
Retrieving data ...