Question

I have passed TDataSet.Recordset: _Recordset interface using COM method outside the application. But I see there a wild DB data. How can I get access to Delphi's TField.DisplayText from _Recordset ADO interface? (TField.DisplayText shows data after OnGetText conversion.)

Was it helpful?

Solution

Thanks TLama for the answer:

ADO Recordset object doesn't know anything about how you display your data, so either create a new _RecordSet instance and fill it with DisplayText values and pass that object, or pass the way you're converting your data to that application separately (which would actually need to pass the code of your OnGetText event method).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top