CloneQuery: Variant
Returns a Read Only clone of the report query results that can be used for anything required without effecting the state of the reporting engine.
Available in Custom Report design script editors, not available in the BeforeReport code since query executes after the BeforeReport code.
For example:
Dim MyQuery as Object
MyQuery = CloneQuery
MyQuery.AddIndex("Transaction","TransactionID")
MyQuery.IndexName = "Transaction"