CGIObjs is a collection of CGIObj objects. CGIObjs represent the variables (such as text box, selection box, check box) on the FORM. Each variable is represented as a CGIObj containing the name and the value of that variable.
Returns the number of CGIObj objects contained in the specified CGIObjs collection.
Object.Count
Long.
Read-only.
The CGIObjs are also included in the EnvObj collection.
This example retrieves the number of form fields contained in the specified collection and the data contained in the user name field.
Set formvars=doc.formvars
Print "Number of fields:"&formvars.count
Print "User name:"&formvars.Item("user_name")
Returns the CGI object corresponding to the given index.
Object.Item ( Index As Variant)
CGIObj object.
By default, Item method is called for CGIObjs collection.
This example retrieves the number of form fields contained in the specified collection and the data contained in the user name field.
Set formvars=doc.formvars
Print "Number of fields:"&formvars.count
Print "User name:"&formvars.Item("user_name")