LongTranslateValue property: Field class
Description
This property returns a string that contains the Long translate (XLAT) value of the field if the field is based on a translate table.
If the field has a null value, a null string is returned. If the field isn’t based on a translate table, or the value isn’t in the translate table, the field’s current value is returned. Because the current value can be of any type, this property has a type of Any.
Note:
If you’re accessing a field based on the Translate table, the Value property returns only the one or two letter XLAT value.
Use the ShortTranslateValue property to return the short translate value of a field.
This property is read-only.
Example
Local Any &VALUE;
Local Field &MYFIELD;
&MYFIELD = GetField();
&VALUE = &MYFIELD.LongTranslateValue;
If ALL(&VALUE) Then
/* do processing */
End-if;