do you have a containing folder of layouts - with potentially clashing names?
just a thought
How many total layouts do you have? There is an issue where you can hit a ceiling of 200 or maybe 250 layouts and then it will do what you describe. I think for us, Windows XP, it was around 220. When we began deleting some of the auxiliary layouts, we hit a number where it began to work as expected.
This was a major conversion solution with older layouts which we had not yet deleted. We continued to delete them down to a much lower threshold. :^)
No conflict with folder names
350+ layouts - multiple people editing a 15 year old database - cleaining it up is essentially impossilbe. So, next questions
a) does it help to move the layout "towards the top" of the list of layouts?
b) is it possible to script the "Open Manage Layouts" dialog (or does that in fact suspend script execution)?
I would be niggled if I knew there was a potential 'bug' in my file. I'd want to be cleaning it down to sub-250. Why not have a script Send Mail (silently) and have it as an OnLayoutLoad script trigger. The script can automatically send you an email with the layout name, the time stamp, and the current user's name. Attach the script to any layouts you want to potentially clean out. If after some reasonable period you've had no emails about a layout, you could be fairly confident it's not needed. You can investigate on the spot why someone was using a layout that you thought was redundant.
The layout may be needed hidden as part of a script, or may be used only to print (don't know if the script would trigger then) but then you wouldn't choose to tag any Print layouts. Not for a while anyway. And if you make a mistake, well, that's what backups are for.
Fascinating. I moved the layout reference to the top of the list in Manage Layouts, and Go To Layout works again for the layout in question.
No idea if "moving" or "top" was the critical piece (certain I had edited the layout before without impacting the errant behavior).
So, is it file corruption or can filemaker only handle 250 layouts before it then "gets confused" and the only way to get to the layouts from 261 to the next to last one is thru the manage layout window. (All layouts after 250 just go to the last layout). I don't see anywhere fm says 250 layouts is a maximum.
It was/is a FileMaker limit in number of layouts. I do not know if it still holds true in version 12. It only took the first 250 or so and if you moved 266 to 1, you could get it. There are posts about it around on various forums. You can google. It MIGHT have been resolved with the addition of folders.
I know it was broken that way in 9 ... and I never worked in 10 but I believe it was still there in 11.
There is a bug fIle here in Report an Issue and it probably has some links on it.
To clarify, it is NOT file corruption. It just can't track more in its layout index or something; I'm no engineer on the details. :^)