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.)

Était-ce utile?

La 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).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top