AnsweredAssumed Answered

Script does not work when triggered by button or layout enter.

Question asked by jebber6685 on Dec 15, 2011
Latest reply on Dec 15, 2011 by philmodjunk


Script does not work when triggered by button or layout enter.


I am developing a quiz FM DB. When the user aswers all the questions correctly, I have a script that then takes him to a new layout called "Congratulations"

In that "Congratulations" layout,  I created a button that that is activates a script that will take you to the first recored in the Question layout, and then it is supposed to clear all the dynamic tracking fields in order to get ready for the next quiz taking. 

For a reason that I cannot determine, the script appears to work but then I check the values that should have been cleared and they are still there. I have run the system with Script debugger and it shows the script working, but the numbers are still there. Here is the script;

 <!--BeginFragment-->Clear All Dynamic Fields

Go to Record/Request/Page[First]

Go to Layout[“Question”]


Clear[Quiz::Answer Code][Select]

Clear[Quiz::Confidence Level Value][Select]

Clear[Quiz::Conf #5 count 1 Field][Select]

Clear[Quiz::Confidence #5 Summation][Select]

Go to Record/Request/Page[Next; Exit after last]

End Loop

Go to Record/Request/Page[First]


Any help here would be greatly appreciated.


I have FMPro Advanced 11.0 v3
OS - Windows Vista on desktop, Windows 7 on laptop