Hi,
I have a form that has a list of fields that need to be completed before the user can submit the form.
I have used
QuerySave :-
Sub Querysave(Source As Notesuidocument, Continue As Variant)
Dim session As New NotesSession
Dim ws As New NotesUIWorkspace
Dim Workspace As New NotesUIWorkspace
Dim db As NotesDatabase
Dim doc As NotesDocument
Call source.Refresh
Set doc = source.Document
If doc.BSSkillsRating(0) = "" Then
Msgbox "Please enter Skills Rating" , 16, "Field Contains No Value"
Continue = False
End
End If
Set doc = source.Document
If doc.BSHelpDeskRating(0) = "" Then
Msgbox "Please enter Help Desk Rating" , 16, "Field Contains No Value"
Continue = False
End
End If
End Sub
But if they try to submit the form before completing all the fields it gives them the option to save the document. How do I get the save option only to appear when all fields have been completed ?
Many Thanks
Stefan