Spac3man Posted April 20, 2013 Posted April 20, 2013 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?
Lee Smith Posted April 20, 2013 Posted April 20, 2013 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
Spac3man Posted April 20, 2013 Author Posted April 20, 2013 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.
David Jondreau Posted April 20, 2013 Posted April 20, 2013 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.
Spac3man Posted April 29, 2013 Author Posted April 29, 2013 so is there a way to renumber the internal ID?
bruceR Posted April 30, 2013 Posted April 30, 2013 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.
Recommended Posts
This topic is 4224 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now