Example 1
This script defines a report object, specifies an SQL query, and sets the Command property equal to the SQL statement, and clears the report object when done.
'Set the SQL statement as the value of the Command property
obj.Command = str
'Clear the report object
objXML.Save(Response)
set obj=nothing