CompIntfPropInfoCollection Object Properties

This section explains the CompIntfPropInfoCollection Object properties.

Description

This property returns the field format for the object executing the property (that is, name, phone, zip, SSN, and so on) as a number. The values are:

Value

Description

0

No Format

1

Name

2

Phone

3

Zip

4

SSN

5

Routine

6

Mixed Case

7

Raw Binary

8

Number only

9

SIN

10

Phone International

11

Zip International

12

Seconds

13

Microseconds

14

Custom

This property is read-only.

Description

This property returns True if the object executing the property is a data collection, False otherwise. If IsCollection is True, other field-oriented properties like Required, Type, Xlat, YesNo, Prompt and Format are undefined. If IsCollection is False, the object represents a field and all the previous properties are defined as described.

This property is read-only.

Description

This property returns True if the property marked Read Only in the Component Interface Definition; False otherwise.

This property is read-only.

Description

This property returns True if the object executing the property is a key, False otherwise.

This property is read-only.

Description

This property returns the record field LongName value as a string. If there is a component override for this value, it is not included.

This property is read-only.

Description

This property returns the record field ShortName value as a string. If there is a component override for this value, it is not included.

This property is read-only.

Description

This property returns the length of the field property as a number. If the property is a collection, this property returns a zero.

The length of the field is calculated by converting it to a string then getting the length of the string. This means that everything in the field is counted as a character, including spaces, date time separation characters, decimal points, sign indicators, and so on.

For example, the following string has 10 characters:

01/01/2001

The following string has five characters:

10.10

The following string has six characters:

-10.10

This property is read-only.

Description

This property returns the name of the object executing the property as a string.

This property is read-only.

Description

This property returns True if the object executing the property is associated with a prompt table, False otherwise.

This property is read-only.

Description

This property returns another CompIntfPropInfoCollection collection if the object executing the property is a collection.

This property is read-only.

Example

&SCROLL1 = &MYCI.PropertyInfoCollection;
For &I = 1 to &SCROLL1.Count;
   &PROPERTY = &SCROLL1.Item(&I);
   If &PROPERTY.IsCollection Then
   &SCROLL2 = &PROPERTY.PropertyInfoCollection;
   /*do scroll 2 processing */
   Else
/* do scroll 1 processing */
   End-If;
End-For;

Description

This property returns True if the object executing the property is a required property, False otherwise.

This property is read-only.

Description

This property returns the field type, as a number, of the object. The values are:

Value

Description

0

Character

1

Long Character

2

Number

3

Signed Number

4

Date

5

Time

6

DateTime

7

SubRecord (Not supported with Component Interfaces)

8

Image (Limited support with Component Interfaces)

9

ImageReference (Not supported with Component Interfaces)

This property is read-only.

Description

This property returns True if the object executing the property is associated with an XLAT table, False otherwise.

This property is read-only.

Description

This property returns True if the object executing the property is associated with the Yes/No table, False otherwise.

This property is read-only.