Returns information about a specific field in the Bindery database.
Indicates the nature of the Field object.
object.Flag
String.
Read-only.
This example indicates the nature of the Field object.
’Display any one property name of the object testUser
set bindery = CreateObject ("ucx:Bindery")
set entry = bindery.Element ("Testuser")
Fields = entry.Fields
Fields.Reset()
while (fields.HasMoreElements())
field = Fields.Next()
Print (field.Flag)
wend
Returns the name of the Field object.
object.Name
String.
Read-only.
This example returns the name of the Field object.
’Display any one property name of the object TestUser
set bindery = CreateObject ("ucx:Bindery")
set entry=bindery.Element ("TestUser")
fields =entry.Fields
fields.Reset()
while (fields.HasMoreElements())
set field=Fields.next()
Print(field.Name)
wend
Gives the Field object's type.
object.Type
None.
None.
This example gives the Field object's type.
’Display any one property name of the object TestUser
set bindery = CreateObject ("ucx:Bindery")
set entry=bindery.Element ("TestUser")
fields =entry.Fields
fields.Reset()
while (fields.HasMoreElements())
set field=Fields.Next()
Print ("Field.Name: " &Field.Name &" Field Type: "&Field.Type)
wend
Determines whether a Field object has a value.
object.ValueExists
Boolean.
Read-only.
This property uses the ReadFieldValue method to retrieve the actual value. It returns TRUE if the field has a value, else returns FALSE.
This example returns TRUE if the field has a value, else returns FALSE.
’Display any one property name of the object TestUser
set bindery = CreateObject ("ucx:Bindery")
set entry=bindery.Element ("TestUser")
fields =entry.Fields
fields.Reset()
while (fields.HasMoreElements())
Set field=Fields.next()
Print("Field Name: " &Field.Name &" Field Has Value? " &field.ValueExists)
wend