Syntax
| SQL.RunMSWord ViewOrTableOrQuery [, SaveAs][, TimeOut]
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Description
| Opens a VIEW, TABLE or a SELECT query, and presents the data in the Microsoft program Word through a new and completely automatically formatted Word document.
The output is similar to the output option: "Word document" in the SQL Designer
| ||||||||
See Also
| other SQL.Runxxxxxxxx methodes, Word-document.
| ||||||||
Example
| Sub Main
Dim sQuery As String
sQuery = InputBox$("Select Query:")
SQL.RunMSWord sQuery, , "Demo!"
End Sub
|