Purpose

.MandatoryInput allows you to specify whether data is required for certain objects.
 

Syntax

ObjectReference.MandatoryInput = Value
 

Operation

ObjectReference is the Tag Name of the object
Value
is the setting for the mandatory input (TRUE or 1 = mandatory, FALSE or 0 = not mandatory)
 

Remarks

The value of this property can only be set, not retrieved.

These properties must be set in On Function Entry or On Cycle Entry Logic, and before any field processing begins.

It is not possible to change these properties once execution of the cycle that contains the fields has begun.  If that is the case, the Property Logic commands will be ignored and a warning message displayed.
 

Example

To set the MandatoryInput property for the CustomerName edit box:

CustomerName.MANDATORYINPUT = TRUE


To set the MandatoryInput property for the combo box (Tag Name = CustomerNumber) using a numeric variable:

#TRUE-VALUE = 1
CustomerNumber.MandatoryInput = #TRUE-VALUE
 

Comment on this topic

Topic ID: 510068

 
 
 

Table of Contents

Index

Glossary

-Search-

Back