Datafield
The datafields represents a data field. Within the scripts that intercept a change on the fields (on form or table), the datafield object is created automatically and will be referred to the modified field.
*value* = datafield.getvalue()
*value* = datafield.getvalue()
Returns the value of the field.
datafield.setvalue(*value*)
datafield.setvalue(*value*)
Sets the value of the field.
*value* = datafield.name()
*value* = datafield.name()
Returns the name of the field.
*value* = datafield.type()
*value* = datafield.type()
Returns the type of the field:
None = -1
Text = 0
Notes = 1
Image = 2
Percentage = 3
Check = 4
Currency = 5
Color = 6
Date = 18
IntegerNumber = 9
DecimalNumber = 10
Separator = 11
List = 12
Email = 14
GlobalCounter = 15
SubTable= 20
DocumentState = 21
Tree = 22
GeographicLocation = 24
Link = 25
Telephono = 26
StateList = 27
File = 28
ValueAllocator = 29
Signature = 30