Dear Sir/Madam,
In the data I work I’ve implanted a system so that the “Registration office” can see in a form how people have payed there guarantor. I’ve splitted this up in “Pin” and “Contant” the fields works as a radio button. Beside that Radio button there is another one that ask on what day the guarantor was payed.
In the form I implanted fields that works as followed:
temp := @DbLookup(“”:“NoCache”;“”:“”;“RotIisInsBorg”;“ContantDinsdag”; 1 );
@If(@IsError(temp); 0; @Elements(temp))
My question is how can I deselect a radio button without implanting a field next to the current Radio button.
If I implant a field next to the current Radio button I’m able to deselected it with the following code:
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.FieldSetText("FieldName","")
Call uidoc.refresh
End Sub
It’s just I got limited space to work with so I would rather not created a field that makes it able to be deselected. I want the field itself to be able to be deselected.
I select “Pin” but I wasn’t ment to select the guarantor so I would like to deselect it…
The field:
Name: RotIisInsBorg
Type: Radio button, Editable
External data source: NOT selected
Tab Key: NOT selected
Border syle: None
Number of columns: 1
Spacing(%) Across: 100 Down: 100
Choices: Enter choices (one per line)
Pin
Contant
Options selected:
Refresh fields on keyword change
Refresh choices on document refresh
Allow keyword synoyms
Thank you for your time.
sincerely,
Rowan Ruseler