Previous Topic

Next Topic

ReplaceQuery - MaxBasic Function

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)

See Also

Report Functions

Book Contents

Book Index