Continue = false equivalent in @formulas

what sis the continue = false equivalent in @formulas ?

thx

Subject: continue = false equivalent in @formulas

@Return(@False)

Dev

Subject: RE: continue = false equivalent in @formulas

Can I add this on a prompt??My code (Form QueryOpen)

@If(DocumentStatus=“UnOfficial Document” & @Left(@Right(@UserName;9);3) != ProjCFrom;@Prompt([Ok];“Message”; “This document is not available for review and is subjected to changes. Please wait for the review notification.”);@Success)

when this condition is true it prompts with the message but then opens the document. I want that after the prompt the document should not be opened. Pl suggest? thanks.

Subject: RE: continue = false equivalent in @formulas

there is no formula equivelant in that context. you’d need to convert your code to lotusscript in order to achieve the result you want.

Subject: But there are ways to get the effect…

Say you can’t do it in @Formulas? Well you just tossed down the gauntlet…and I, sir, pick it up! Shall we say pistols at 10 paces at dawn?

You’re right, to do exactly what the poster asked, you’d need LS.

BUT…what if…

Use a view form formula. Create a form that basically says ‘not allowed’ In the view’s form formula, add in all the stuff you want to use to authorize/prevent access and, if the user fails on a particular document, display the ‘no access’ form.

Obviously, if this were a security thing, we’d want to use reader/author fields, but if you just want to make it apparent to a user they aren’t allowed into a specific doc, the form formula trick might work.

I have fired my weapon. I await your return shot.

:wink:

Doug

Subject: RE: But there are ways to get the effect…

well there’s always a workaround but that’s not really what the poster was looking for, unfortunately. But I admire your tenacity.

Subject: continue = false equivalent in @formulas

Double posting is generally considered a validation of netiquette.

Subject: continue = false equivalent in @formulas

There is no equivalent.