AddField  method.
          Creates and adds new field to the record. This methods provides more
          convenient way (than the Add method) to construct a record when the
          fields are well-known and several fields are to be added sequentially.
        Syntax:
        
          record_object.Add Name, Type[, Size] 
         
        Parameters:
        
          record_object - A SFRecord object 
          Name - name of the new field (string) 
          Type - The type of the new field. One of the vbXXtype
          constants for example (see VarType function in VBScript for list of
          the constants). SFField works with the standard COM variant types. 
          Size -  Optional integer value that specifies the
          size/maximum size of the field value. Required only for data types
          like strings. 
         
        Examples:
        
          rec.AddField "Title", vbString, 128 
          Adds a field named "Title" of String type with size
          128 characters.  
          rec.Add "Age", vbInt 
          Adds field named "Age" of type Integer (2 bytes
          integer) 
         
        Remarks:
        
          See also SFFielf.Type property for more information for the
          supported types. 
         
        Applies to:  SFRecord object 
        See also:  Add
           Supported on: 
          
            Windows 95/NT and later 
            Windows CE 3.0 and later 
            Pocket PC/Windows Mobile 2003 and later 
            Windows CE.NET 4 and later 
           
           |