Does Unidac DataSets implement IProviderSupport?
Posted: Fri 28 Jan 2011 00:39
I don't have the source code to check this, but it seems the unidac datasets partially support IProviderSupport interfaces.
Given the following code:
The PSGetCommandText is returning empty string even though memCustom.Lines.Text has text. It's like the SetCommandText isn't working.
Given the following code:
Code: Select all
lDS := ActiveDataSet;
if (lDS = dsrCustom.DataSet) then
(lDS as IProviderSupport).PSSetCommandText(memCustom.Lines.Text);
if (lDS as IProviderSupport).PSGetCommandText '' then
RefreshDataSet(lDS);