Can you show us the script you are using?
To post a script to the forum:
- You can upload a screen shot of your script
- You can print a script to a PDF, open the PDF and then select and copy the script as text from the opened PDF.
- If You have FileMaker advanced, you can generate a database design report and copy the script as text from there.
- If you paste a text form of the script, you can use the Script Pretty box in the Known Bugs List database to paste a version that is single spaced and indented for a more professional look to your script. (Use the HTML option and paste the text into the HTML editor.)
Here is screen shot of the script.
What layouts are you seeing? The Employee screen or layouts referenced in the Production menu or Main Menu scripts?
Do you see a layout other than the opening screen and then it changes to the Opening Screen?
Its interesting I don't even see the opening screen layout at all.
What I see is a layout not even listed anywhere and then it goes to the priviege set requirements.
But it all finishes as expected...either the "production menu" or the "main menu" according to the privilege set.
Do you have Filemaker Advanced? If so, Launch fileMaker without opening this file, enable the script debugger and then use the file menu to open this file and watch your script execute step by step to see what might be going on here.
If you do not have advanced, modify this script by temporarily adding show custom dialog steps to this script. Put different text in each dialog so you can tell which ones appear at which point. Make sure to make such a step the very first step and also but one right after the go to layout step that takes you to the opening screen. Then run this script and note what takes place before, between and after each show custom dialog.
I'm leaning towards the existance of a layout level script trigger that's interferring with your script.
Thanks Phil...got it going. I had a another layout set in file options and so I changed it to "opening screen". So now I see the "opening screen"...boy it doesnt last for long before it goes to my main menu.
Thanks again. -Jay.