我有 3 TQueries: qy_master, qy_detail, qy_detail2, master of qy_detail2is qy_detail, master of qy_detailis qy_Master,所有查询都有相应的数据源,我将查询放在数据模块中,当数据模块创建时我激活了这些查询。
在另一种形式中,我使用了这些查询,尝试'qy_detail.open'时说'EDbengine error : Tables is read-only'但打开时没有问题qy_detail,我不修改 SQL 语句,但我不知道为什么会发生此错误。
我也试过了qy_detail.Active := True;该语句也会引发错误,
我使用通过 BDE 和 ODBC 数据源连接的 SQL Server 2005。
请任何人帮我解决这个问题。