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
document.
Option Public
%INCLUDE "lsconst.lss"

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


Sub:
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

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