Compile All Lotuscript reports errors I can't find

(NEVERMIND this question: I got it working by compiling the database).

When I recompile all Lotusscript, 4 design elements are reported to have syntax errors in them. However, I cannot find these errors. I even go into the modules, add a space somewhere, and save them, but three of them have no error reported. How do I find these errors?

Problem number 2 (and possibly the cause of the other problem): The fourth design element, a form, reports: Duplicate PUBLIC name DB in USE module slANCustomized.

However, I do not have DB declared in the use module (at least, not at the top level, it is used within some Subs).

I’m really getting frustrated with this incomprehensible scope problem (even though it seems it should be quite simple). Can someone tell me where to look for DB? Or otherwise what I’m doing wrong?

Thanks,

-Jeff

Subject: Compile All Lotuscript reports errors I can’t find

I never use this feature – too quirky as you have seen, and besides, oftentimes there are elements I don’t want signed.

You know what would be really nice, would be to select a design element and say recompile this element and all its tributaries. A very common scenario in our apps is that we have five or six script libraries chained together, with the uppermost one using front end classes like Notesuidocument, and then we use that one on a form. Like so:

library “Widget” contains the Widget class
library “WidgetWrapper” contains something that contains and uses widgets

library “UIWidget” contains a notesuidocument, a notesuiworkspace, and a widgetwrapper.

Form “Widget” uses UIWidget.

Any change to, say, the Widget class (at the top of the stack) will very often cause the Widget form (at the bottom) to emit an “Error loading Use module” error. It would be awfully nice to be able to recompile the widget form and all the libraries it uses, while leaving everything else alone.