Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the output file type.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVExport 6.1 Yes No Yes, macOS only No Yes
MBS( "AVExport.SetOutputFileType"; AVExportSession; FileType )   More


Parameter Description Example value
AVExportSession The session reference number. $AVExport
FileType The new file type. ""


Returns OK or error.


Sets the output file type.
Indicates the type of file to be written by the session.
The value of this property must be set before you invoke AVExport.ExportAsynchronously; otherwise AVExport.ExportAsynchronously will return an error.
Setting the value of this property to a file type that's not among the session's supported file types will result in an error. See AVExport.SupportedFileTypes.


Set output file type and query default file extension:

Set Variable [$r; Value:MBS( "AVExport.SetOutputFileType"; $$AVExport; AVAsset Export Session::OutputFileType )]
Set Field [AVAsset Export Session::OutputFileExtension; MBS( "AVExport.OutputFileExtension"; $$AVExport )]

See also

Example Databases

Created 29th February 2016, last changed 1st March 2016

AVExport.Release   -   AVExport.SetOutputPath

Feedback: Report problem or ask question.

MBS Xojo tutorial videos