Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经TDataSet.Recordset: _Recordset在应用程序外部使用 COM 方法传递了接口。但我看到那里有一个狂野的数据库数据。如何TField.DisplayText从_RecordsetADO 界面访问 Delphi?(TField.DisplayText显示OnGetText转换后的数据。)
TDataSet.Recordset: _Recordset
TField.DisplayText
_Recordset
OnGetText
感谢 TLama 的回答:
ADO Recordset 对象对如何显示数据一无所知,因此要么创建一个新的 _RecordSet 实例并用 DisplayText 值填充它并传递该对象,要么传递将数据单独转换到该应用程序的方式(这将实际上需要传递您的 OnGetText 事件方法的代码)。