I'm afraid there is no TOracleDataSet event that will allow you to modify the QBE query.
The only workaround is to use the BeforeQuery event of the InternalQuery of the TOracleDataSet. Note that InternalQuery is a protected function, so you will have to derive your own (dummy) TOracleDataSet descendant to accomplish this.
------------------
Marco Kalter
Allround Automations