What is the significance of cache.ndk and bookmark.nsf files.
i have faced this problem many times"not a sub or function name! prepare note to copy drag"
Then if i delete cache.ndk and bookmark.nsf it works for me.
i don’t understand how it works.
can anebody tell me how it works…
thanks in advance.
Subject: “not a sub or function name! prepare note to copy drag”
Problem In Lotus Notes, pasting a button or opening a document containing a button results in the following error message:
“Not a sub or function name: <subroutine/function name>”
This situation occurs when the button is coded with LotusScript and the code references a Script Library.
If you are opening a document, the document will open successfully but clicking a button within the document will again cause the error message.
Additionally in Notes R6 only, this error also occurs when opening a forwarded document containing a button as described above.
Solution
This issue was reported to Quality Engineering as SPR# BMGH5WKPZ2 and was fixed in Notes 6.0.5 and 6.5.4.
Excerpt from the Lotus Notes and Domino Release 6.0.5 / 6.5.4 MR fix list (available at IBM Developer):
Editor
SPR# BMGH5WKPZ2 - The error “Not a sub or function name” no longer appears after clicking a button while opening a document. This regression was introduced in 6.0.
There is an additional SPR regarding this issue:
MSTR5EDTDP: This SPR deals with an error that occurs when pasting a button or clicking a button. Product Development has determined that Notes is functioning as designed since an error should be returned if the referenced Script Library is not available.
A similar issue can occur when the Script Library is available but is not accessed correctly in cases where a Form Header is being used. For more information, refer to Document #1104996, “Form with Header Prevents LotusScript Libraries from Loading Correctly Causing Error: Not a Sub or Function Name.”
Subject: RE: “not a sub or function name! prepare note to copy drag”
Thanks Ranjit for sharing this valuable information.
now my point is by deleting cache.ndk and bookmark.nsf how this problem is solved.