Append the contents of the file to the current form.
object.AddFile( FieldName, FileName )
- A string which specifies the name of the field to add to the
- A string which specifies the name of the file.
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 AddFile method is used to add the contents of a file to
a form created using the CreateForm method. If the field name
has already been added to the form, the previous value is deleted and
replaced by the new value.