TCustomDADataSet.Clear

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

TCustomDADataSet.Clear

Post by jfudickar » Sun 18 Feb 2007 19:28

Hi

please add a virtual procedure Clear to the TCustomDADataSet.

It should clear any properties (SQL, Params, FilterSQL, ...) to the default value.

Greetings and thanks
Jens

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

Post by Plash » Mon 19 Feb 2007 10:28

The newly created TCustomDADataSet object will have default property values. You can either use this object or assign its properties to the old dataset by calling the Assign method.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Mon 19 Feb 2007 15:28

This is not the reason why i want this.

I'm often using at runtime created dataset components to selected any data.

Sometimes they are used in loops, and in this case it could be helpfull to have a clear procedure to reset all settings.

Greetings
Jens

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

Post by Plash » Wed 21 Feb 2007 14:21

We will investigate possibility to add such functionality, but that is hardly to happen in the nearest future.

Post Reply