I am converting my ADODataSource to a TUniDataSource.
With an ADODataSource, i can do something like this:
TADODataSet(DbGrid.DataSource.DataSet).CommandText
I would like to do the same with UniDAC.
What i have now is:
TUniDataSource(DbGrid.DataSource).DataSet.
I can not use CommandText, because it is not part of the TUniDataSource property list.
What i would like is the currently used SQL in the DataSource. How should i be doing this to get the SQL that is used?
I use a TUniDataSource with a TUniTable.
If i should be using other components, please do tell