Manage Learn to apply best practices and optimize your operations.

How To Validate Form Using Script & Avoid Notes Error -Field Didn't Pass Validation Formula Error W

How to validate form using script & Avoid Notes Error -field didn't pass
validation formula error when refresh through script, (uidoc.Refresh)
Dim w as New Notesuiworkspace
Dim uidoc as Notesuidocument
Dim sess as NEw Notessession

set uidoc=w.Currentdocument

On Error GoTo ErrorHandler

Call uidoc.Refresh
On Refresh if you any vaildation formulas if they fail you get your defined
error message after than you get Notes Error Message top avoid here is solution


If Error="Notes Error - field didn't pass validation formula" Then
Exit Sub
Msgbox "("+Error+")"+Chr$(13)+Chr$(10)+" Please pass this error message to your
notes database manager /developer",16,sess.CurrentDatabase.Title
End If


If there are any other error message it gives information to user what to do if
they get

Dig Deeper on Domino Resources - Part 6



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...