Hello,
We recently migrated our domino server from 6.5.4 to R8.5
Most of the applications works in 8.5. But there is one specific application which does work but shows an error message on every click on Mouse. For example, user opens a document, it will give an error, “Not a Sub or Function Name”… User can still use the application. I am not sure why this error comes? Same application works fine on 6.5.4 client. but on R85 client it gives an error.
Any idea what is wrong?
Thanks
MS
Subject: Hi
Two important things changed in R8.5.
-
QueryClose events are not triggered if the document is not “clean”.
-
The navigator class was changed so you might have a problem if you use a mix navigator with categories and documents.
So there could be a problem around that, or maybe there is something more I don’t know about.
You should open a PMR although IBM won’t support the application itself unless they did it, but at least you could ask for the changes in the code that might help you debug that.
Also, check the ODS. You shouldn’t change it.
Subject: Debugger?
You may have tried it already but if you switch the LotusScript debugger on you may be able to detect the cause of the problem. The error message implies that a function or subroutine name is invalid. Perhaps you have used a reserved name for a subroutine name or something?
Subject: debugger doesn’t give any errors for me
I just ran into this problem today. It only happens in a couple of databases and only on certain documents. 6.5 client opens the documents without any errors, but 8.5 gets a heap of errors when opening the document. When I open the doc in 8.5 with debugger on it opens fine with no errors. recompiling lotus script made the errors go away.
Subject: This is a bug - there’s a workaround
There’s an issue with Notes 8 (SPR JSHN7D2T5N) where it may not recognize Globals script code in certain forms if they were saved in earlier versions of Notes Designer. Then when some action on the form attempts to invoke a script variable or subroutine defined in the Globals section of the form you’ll get that error as if the Global script code just wasn’t there.
I don’t know for sure that the problem exists in 8.5, but it is in 8.0.2.
The issue specifically occurs if the form was saved without the cursor being in the Script code (yes, it actually matters where the cursor focus was at the time the Form design was saved). The compiled version of the script (saved as field $$Script_O) did not get saved on the form, and the Notes 8 client looks for it.
The workaround solution is to open and re-save the form design with your cursor focus in that code. Recompile All LotusScript on the database will work as well.
Subject: Will have to check
Thank you all for your replies. I will check all the details and will update on result.
Thanks
MS