Page 1 of 1

TCustomDADataSet.Clear

Posted: Sun 18 Feb 2007 19:28
by jfudickar
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

Posted: Mon 19 Feb 2007 10:28
by Plash
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.

Posted: Mon 19 Feb 2007 15:28
by jfudickar
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

Posted: Wed 21 Feb 2007 14:21
by Plash
We will investigate possibility to add such functionality, but that is hardly to happen in the nearest future.