TOraScript and event AfterExecute

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nschmied
Posts: 72
Joined: Mon 09 May 2005 08:03
Location: Suisse

TOraScript and event AfterExecute

Post by nschmied » Wed 30 Nov 2005 16:07

Hy,

Why are you suppret event AfterExecute to TOraScript ?
I will need some

Thank,
nsc

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Thu 01 Dec 2005 11:08

For this purpose you can create TOraQuery and assign it to DataSet property of TOraScript. Then TOraScript will use TOraQuery for processing sql statements. So you can use AfterExecute event of TOraQuery.

dados
Posts: 82
Joined: Thu 18 Aug 2005 14:06

Multiple select statements

Post by dados » Tue 30 Jun 2009 11:22

So if you have multiple select statements that would result in multiple datasets and you would want to have access to each dataset you would have to create a TOraQuery for each statement in the Script BeforeExecute and turn the Omit := true and run the Query your self. Is that right?

Reg,
Arni

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 01 Jul 2009 07:26


Post Reply