DeleteField Method  

Delete the form field and its value from the current form.


object.DeleteField( FieldName )


A string which specifies the name of the field to remove from the form.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.


The DeleteField method is used to remove a field and its associated value from the current form.

See Also

AddField Method, AddFile Method, CreateForm Method, DeleteField Method, SubmitForm Method