Recompiling all lotussript for a database returned an error today:
"<form name>: LotusScript Error - Syntax Error"
Good thing it did, but it would have been helpful knowing what was wrong. I got no hint at all other than the form name. So I looked at the modification date and by who a change was last made and tried to find the most probable change request. Still its not easy if the form is big with a lot of scripts tied to it.
I opened query save, removed a bunch of code and tried to save and there it was. The other day I had copied over a small table with some fields from another form and forgot about two buttons which were making calls to functions in a script library. This script library was not declared in Options with Use "scriptlib", but no error was raised when saving until now that is. I decided to copy the functions into another script library that was used in this form, modified them slightly and everything worked and went back to normal.
While searching for this on developerWorks I found another probable cause which might be good to know about. When defining a public class in Lotusscript named 'Picture' it can be saved without errors, but when running "Recompile All Lotusscript" the same error occurs.
Technorati tags:
Recompile All LotusScript, Domino, Lotus Notes
December 12, 2007
When "Recompile All LotusScript" returns an error
Posted by Niklas Waller at 2:01 PM
Subscribe to:
Post Comments (Atom)
2 comments:
Maybe you were too fast for Lotus Notes to pick up on the error...haha, couldn't say I've ran into that error before though. Good to know.
Lucky Club Live Casino UK | Play with £10 Welcome Bonus
Join Lucky Club today and start playing with a £10 free luckyclub bet. You can also take part in VIP giveaways and special offers from Microgaming. Register here to win
Post a Comment