ReplaceQuery(Query: Object)
Replaces the SQL Query.
Used within the AfterQuery code.
The schema of the query being replaced must match the schema of the new MemoryTable.
ReplaceQuery function syntax has these named arguments:
Parameter |
Description |
Query |
Required. The Query to replace the existing SQL Query with. |
For example:
Dim MyQuery as Object
MyQuery = CloneQuery
MyQuery.AddIndex("Transaction","TransactionID")
MyQuery.IndexName = "Transaction"
...
...
ReplaceQuery(MyQuery)