I have a field called ctxtSave and value is set to “0”.
And in the querysave, the code is :
Sub Querysave(Source As Notesuidocument, Continue As Variant)
If source.document.ctxtSave = “0” Then
Msgbox “Please use the Save Button”
continue = False
Exit Sub
End If
End Sub
The error message “Type Mismatch” always comes out. What is happening?