Clear DataSet Records without Server call (Primary Key is NULL)
Posted: Wed 06 Mar 2019 13:39
Hi,
i'm looking for a possibility to clear all the actuall loaded data in a PGQuery. (Only Records, Fields should stay)
Background: we have a rule, if a parameter is NULL than there is never a result.
So i want to implement for example before refresh: if param is null then dataset.ClearRecords to avoid the server call. (there are very many null requests). additionally its important to keep the dataset open.
so is there is a way to do this? PGQuery.TData.??? or override some function?
Thanks.
i'm looking for a possibility to clear all the actuall loaded data in a PGQuery. (Only Records, Fields should stay)
Background: we have a rule, if a parameter is NULL than there is never a result.
So i want to implement for example before refresh: if param is null then dataset.ClearRecords to avoid the server call. (there are very many null requests). additionally its important to keep the dataset open.
so is there is a way to do this? PGQuery.TData.??? or override some function?
Thanks.