如何解决“无法对封闭的数据集执行此操作”与Borland数据库引擎和Delphi应用程序? [英] How do I solve the "Cannot perform this operation on a closed dataset" with Borland Database Engine and a Delphi application?

查看:2324
本文介绍了如何解决“无法对封闭的数据集执行此操作”与Borland数据库引擎和Delphi应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序运行正常,直到在OpenOffice.org Calc中编辑用户数据库(* .dbf)。现在它给出了关于封闭数据集的上述错误。

The application was working perfectly, until I edited the user database (*.dbf) in OpenOffice.org Calc. Now it gives me the above error about a closed dataset.

推荐答案

根据您自己的评论,您无法打开数据库文件因为它已损坏。因此,您的案例中的错误意味着您不会忘记打开它,但是您的应用程序无法打开损坏的.dbf文件。

As per your own comment, you were unable to open the database file because it was corrupt. Thus, the error in your case meant not that you forgot to open it, but that your app cannot open the corrupt .dbf file.

其他不太明显的原因为什么您可能会收到此错误,而不是您将Active属性设置为true的显而易见的事情,包括系统或BDE配置错误(ODBC或ADO或其他缺少或未配置的BDE运行时文件),以便打开档案

Other not-so-obvious reasons why you might get this error, than the obvious thing that you failed to set the table Active property to true, include system or BDE configuration errors (ODBC or ADO, or other BDE runtime files missing or not configured) that are required to open the file

这篇关于如何解决“无法对封闭的数据集执行此操作”与Borland数据库引擎和Delphi应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆