Recieve SQL-Statement using Criteria

You can maybe use the SimulateStatements property?