Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi Firedac ODBC和Ingres数据库-“;在当前状态下无法调用API函数;_Delphi_Delphi Xe8_Firedac_Ingres - Fatal编程技术网

Delphi Firedac ODBC和Ingres数据库-“;在当前状态下无法调用API函数;

Delphi Firedac ODBC和Ingres数据库-“;在当前状态下无法调用API函数;,delphi,delphi-xe8,firedac,ingres,Delphi,Delphi Xe8,Firedac,Ingres,我在使用Delphi Firedac(ODBC)从Ingres数据库读取数据时遇到问题。 我可以连接到Ingres数据库(无异常抛出),但当我尝试通过FDQuery读取数据时,我得到: "API function cannot be called in the current state" 使用相同的连接字符串和dbExpress(ODBC),我可以通过sql语句读取数据 我知道dbExpress要简单得多,也许Firedac会尝试在ODBC驱动程序中读取/设置更多的内容,这会造成问题。 我在

我在使用Delphi Firedac(ODBC)从Ingres数据库读取数据时遇到问题。 我可以连接到Ingres数据库(无异常抛出),但当我尝试通过FDQuery读取数据时,我得到:

"API function cannot be called in the current state"
使用相同的连接字符串和dbExpress(ODBC),我可以通过sql语句读取数据

我知道dbExpress要简单得多,也许Firedac会尝试在ODBC驱动程序中读取/设置更多的内容,这会造成问题。 我在Embarcadero质量门户网站上报告了问题,但没有任何回应


可能有人知道如何使用Ingres数据库和Firedac

问题是在Embarcadero的Dmitry Arefiev的帮助下解决的 添加到连接参数

ODBCAdvanced=SELECTLOOPS=N
根本解决不了问题