Manage Learn to apply best practices and optimize your operations.

Check If A New Field Exist On A Document

Check if a new field exist on a document

How often haven't you re-designed your document and the user need to resave it?

Here is some simple script-code to check if the new field exists on the
Option Public
%INCLUDE "lsconst.lss"

Dim temp As Variant
Dim boxType As Long, ans As Integer

temp=Evaluate("@IsAvailable(ReportPeriod_1)", Doc)
If temp(0) = 0 Then
ans% = Msgbox ("You must edit/save the current document again because of
new function on document" , boxType& , "Error on Doument")
Exit Sub
End If

Dig Deeper on Domino Resources - Part 3



  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury