You can the value of your check box with Lotusscript by doing the following:
Dim session as New NotesSesion
Dim db as NotesDatabase
Dim doc as NotesDocument
Dim myVal as String
Set db = session.CurrentDatabase
Set view = db.GetView("MyView")
Set doc = view.GetFirstDocument
' this will get the value of your field
myVal = doc.MyCheckBox(0)
this will either return the Value you gave it as a literal or an alias
Hope this helps
Joey
---------------------------------------------------------------------------------------------------------
You'll need to look at the form in Designer and find out the actual name of the field. If it has multiple checkbox options, then the field will have multiple values if the user has selected more than one. For example, if the field name is MyCheckBox, and the user has selected Apples, Oranges, and Pears, then MyCheckBox(0) will contain "Apples", MyCheckBox(1) will contain "Oranges", and MyCheckBox(2) will contain "Pears". If the user has selected none of the options, then MyCheckBox(0) will contain "".
LedLincoln
Last Wiki Answer Submitted: August 6, 2008 1:38 pm by Ledlincoln1,620 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.