FileName Property
Sets the name of the external file to read data from or write data to a dataport or XMLport.
The FileName property must be set to a valid file name or a run-time error occurs.
This property can be set dynamically by using the FILENAME Function (Dataport, XMLport). Using this function with the Import Property function, you can create dataports or XMLports that are dynamic, meaning that they can determine whether data is input or output at run time, and the name of the external file to read from or write to can also be set at run time.
If FileName is blank, a default request options form tab will be created, where this property can be set at run time. If no name is specified or the UseReqForm Property property is set to No, then a run-time error occurs.