Purpose

.GetNumericvalue() retrieves the numeric data element associated with the Field object.
 

Object Type

Radio groups, combo boxes, edit boxes, list boxes, list box columns, and check boxes.

  

Syntax

ObjectReference.GetNumericValue()
 

Operation

ObjectReference is the Tag Name for Field object whose associated data element is a numeric. It cannot be a variable and it is case sensitive.
 

Remarks

This property only has an affect when record iteration has begun and values have been assigned to the data elements (usually after file reads).  Do not use it in default logic, function in logic, etc.
 

Example

To set all numeric fields to the colour red for negative values:

IF CURRENTFIELD.GetNumericValue() < 0 THEN

   CURRENTFIELD.BACKCOLOR = > "RED"

     

Comment on this topic

Topic ID: 510106