troubleshooting Question

PUBLIC is not allowed in this module

Avatar of Sjef Bosman
Sjef BosmanFlag for France asked on
Lotus IBM
11 Comments1 Solution1680 ViewsLast Modified:
I doubt very much that there is a simple solution, but I thought to ask you anyway.

This is the case.

I have a  shared action:
- I have %include "LSCONST.LSS" in the Declarations section of the shared action
- there's a MessageBox in the code
- and I want to use MB_YESNOCANCEL (the const, and not some constant value)
- saved, no problems

I also have a form
- I included this shared action
- saved, no problems

When opening the form in Notes, I get the error message. Do I have to put the %include in the form's Global section as well? No way, I'd probably get a Multiply defined. For the time being, I copied/pasted a section of constant definitions from LSCONST.LSS into the shared action, but I'd like to do things the way they should be done.

Your solutions please!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros