September 19, 200916 yr Is there a way to delete a layout that is no longer needed by using a script, or a OnLayoutLoad trigger? ex. I have first layout as a logon..once user enters correct "code", it moves them on to another layout. I don't want them getting that first layout again ever.
September 19, 200916 yr Layouts cannot be deleted by script. Uncheck the option to display the layout in the layouts menu. That way the user can only get to the layout by a scripted process (or by entering layout mode and scrolling through the layouts, which they should not be able to do anyway).
September 19, 200916 yr Author Thanks Vaughan, but what I'm looking for is for a customer to be able to see the layout the very first time they run the file, enter a serial code which will take them to a different layout, and for them to NEVER see the serial layout again when they open the file. I'm sure it can be done by scipting, but I'm very new to FM, ad not a great scripter yet. Any suggestions on which way to go with the script. I've already got the layouts, serial, and everything working correctly, I just need to "hide" the serial layout the next time the file is used. Thanks for your help.
September 19, 200916 yr Sounds like you need: If isempty (serial) go to layout1 else go to layout2 end if in your startup script. Edited September 19, 200916 yr by Guest
Create an account or sign in to comment