The GetDataListByFieldName attribute function loads the contents of all records in a data column.
Syntax | |||||
GetDataListByFieldName(FieldName, NullValue) | |||||
Return value | |||||
Type |
Description | ||||
Variant() |
Contents of all fields in the data column | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
FieldName |
String |
ByVal |
Name of the data column | |
Required |
NullValue |
Variant |
ByVal |
Return value, if the field is zero | |
Example:
PickListEntries.Clear
tabPickListEntries.ReQuery
PickListEntries := tabPickListEntries.GetDataListByFieldName("PICKLIST_VALUE", "")