Syntax
| SQL.RunReport ViewOrTableOrQuery[, RunNow][, OutputStyle]
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Description
| Opens a VIEW, TABLE or a SELECT query, and then launches a Wizard function to process the lines into printable labels.
The output is similar to the output option: "Report" in the SQL Designer
| ||||||||
See Also
| other SQL.Runxxxxxxxx methodes, Rapport.
| ||||||||
Example
| Sub Main() Dim sQuery As String sQuery = "Select * From Klanten Where Admin = 1 And Postcode Like '25%'" SQL.RunReport sQuery End Sub | ||||||||
Example with previously prepared report:
Sub Main() Dim sQuery As String sQuery = "@o:\adminsql\scripts\mijn rapport.vrd" SQL.RunReport sQuery, True, vsPreview End Sub | |||||||||