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
%REM
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
%END REM




ErrorHandler:

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


%REM

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

Dig Deeper on Domino Resources - Part 6

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchDataCenter

SearchContentManagement

Close