Syntax
| SQL.RunExport ViewOrTableOrQuery [, ExpFileName][, TimeOut]
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Description
| Opens a VIEW, TABLE or a SELECT query, and exports the data to a TAB-separated text file, where the first line contains the field names.
The output is similar to the output option: "Export to..." in the SQL Designer
| ||||||||
See Also
| other SQL.Runxxxxxxxx methodes, Exporteren naar....
| ||||||||
Example
| Sub Main() Dim sQuery As String Dim sFile As String sQuery = InputBox$("Select Query:") sFile = InputBox$("File naam:") SQL.RunExport sQuery, sFile End Sub | ||||||||