troubleshooting Question

@If Statement -- checking for 2 null fields before executing code?

Avatar of BroadAustralia
BroadAustraliaFlag for Australia asked on
Lotus IBM
8 Comments2 Solutions198 ViewsLast Modified:
Hi EE !

I am having problems with what I'm sure is a simple @If statement...  Please put me out of my misery ;)

/////////////////////////////////////////////////
@Command([EditDocument]);
@If(LeInHome = ""; @Prompt([Ok];"Error"; "You must select an Inhome Presenter"); FIELD LeInhome1Out:= "Booked2nd")
/////////////////////////////////////////////////

The code above works fine -- but I actually want to check 2 fields to ensure both of them have data...  ( both of the cases would have different Error messages to the user too..

Ontop of that how would I go about setting 2 fields should the @If statement ring true?

Thank you.

Broad.
ASKER CERTIFIED SOLUTION
cezarF

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 8 Comments.
Start Free Trial
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 2 Answers and 8 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