Syntax
| SQL.RunDocument ViewOrTableOrQuery
| ||||
---|---|---|---|---|---|
Description
| Opens a VIEW, TABLE or a SELECT query, and presents the data in a new window, displaying a new and completely automatically formatted RTF (Rich Text Formatted) document. The document is then editable and printable.
The output is similar to the output option: "Document" in the SQL Designer
| ||||
See Also
| other SQL.Runxxxxxxxx methodes, Document.
| ||||
Example
| Sub Main
Dim sQuery As String
sQuery = InputBox$("Select Query:")
SQL.RunDocument sQuery
End Sub
|