• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Update yes/no field

I have a checkbox field that has only one option, "yes".

In either Lotus Script or formula language to use in an agent, how do I

Update the field to yes so that the checkbox shows with an X on records that meet a condition, or,
Clear the feild to remove the X
0
jkee54
Asked:
jkee54
  • 2
  • 2
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
In formula:
    Field checkbox:= @If(condition; "yes"; "");
    ""
0
 
madheeswarCommented:
Lotus Script:

Dim ws as new notesuiworkspace
dim curdoc as notesdocument

set curdoc=ws.currentdocument.document

curdoc.YourFieldname="Yes"
0
 
Sjef BosmanGroupware ConsultantCommented:
Hi Madheeswar, where's the loop throught the unprocessed documents? And the save? They are automatically included in a formula-agent. Ah, now I see it, you assumed a form with a document... Question says "agent", though... :)
0
 
madheeswarCommented:
Thanks Sjef..

You are correct.

Jkee,
If u want LS, then let me know.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now