short ExportForm(BSTR OwnerAndName, BSTR FileName)
Description
This function exports the QMF form to the specified file.
Parameters
Name | Description |
---|---|
OwnerAndName | A string containing the owner and name of the form that you want to export, in owner.name format. For example, John.Query2 |
FileName | A string containing the name of the file to which you want to write the exported form. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString() , GetLastErrorType() , GetLastSQLCode() , GetLastSQLError(), or GetLastSQLState() to get additional error information.
Related Tasks