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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top