4D Write v14WR GET REFERENCE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v14
WR GET REFERENCE
WR GET REFERENCE
The WR GET REFERENCE command gets information about the selected reference in the 4D Write area.
The numFormat parameter returns a string indicating the format of the selected numeric field/expression (i.e., Real, Integer, or Longint). If no format is associated with the expression or if it is not a numeric type expression, an empty string is returned. The dateFormat parameter returns the number of the Date format associated with the selected field/expression, if it is a date type. Should this not be the case, the value 0 is returned.
The timeFormat parameter returns the number of the time format associated with the selected field/expression, if it is a time type. Should this not be the case, the value 0 is returned.
Refer to the example of the WR SELECT command. This example determines if the user selected an object that is a reference. It also tells the user if the selected object is a field or an expression. WR GET REFERENCE(Letter;$Table;$Field;$Name;$Type) |
PROPERTIES
Product: 4D Write
HISTORY
Modified: 4D Write 6.7 SEE ALSO
WR INSERT EXPRESSION ARTICLE USAGE
4D Write Language ( 4D Write v11.6) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||