April 20, 201312 yr I have designed a new layout in my DB and want to replace the old one with the new one. The problem I'm having is that every time I try to rename the old layout, all the scripts that referenece the old layout, change to the (old layout) new name. And then when I rename the new layout to the old name, the scripts still reference the old layout with new name. IE.. script01 ---> Welcome Layout (rename old layout) Welcome LayoutOLD script01 --> Welcome LayoutOLD (rename new layout) Welcome Layout script01 --> Welcome LayoutOLD So the script will never call the new layout. Last time I designed was in FM3. So please forgive me if it is obvious. Is there a way to change the layout number instead?
April 20, 201312 yr If I'm understanding you correctly, that is the way that FileMaker works. I would create a New script and use the new layout name it it. Than replace the old script in the Open Script with the new one. Also, FileMaker will remember the last layout you had open. HTH Lee
April 20, 201312 yr Author Solution After a lot of Googling, that is the conclusion I came up with too. I have too many scripts pointing to this layout so instead I grouped everything on the old layout, dragged it off-screen and copy/paste everything from the new layout into the old layout.
April 20, 201312 yr Layouts (among other types of FileMaker elements) have an internal ID in addition to their name. When creating a reference to a layout (in, for example, a script), FM actually stores the ID and pulls the name for human reference.
April 30, 201312 yr No. Why would you bother? Just select the correct layout in the Go to Layout script step. If you have too many scripts going to that layout - then it would probably be a good time to route your scripts through a router script.
Create an account or sign in to comment