我在通过 Delphi Firedac(ODBC) 从 Ingres 数据库读取数据时遇到问题。我可以连接到 Ingres 数据库(没有异常抛出),但是当我尝试通过 FDQuery 读取数据时,我得到了:
"API function cannot be called in the current state"
使用相同的连接字符串和 dbExpress(ODBC) 我通过 sql 语句读取数据没有问题。
我知道 dbExpress 要简单得多,也许 Firedac 会尝试在 ODBC 驱动程序中读取/设置更多内容,这会产生问题。我在 Embarcadero 质量门户https://quality.embarcadero.com/browse/RSP-11536报告了问题,但没有任何回应
可能有人知道如何使用 Ingres 数据库和 Firedac