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.
我继承了一个使用 DAO 编写的 VB6 项目,主要用于访问数据。
代码很差,应用程序经常使用大量数据生成 Windows 崩溃(程序“遇到问题,需要关闭”)。我怀疑大部分需要重写。
我想首先使用 DAO 来关联发票标题的记录集(每张发票有一条记录)和另一条发票行(每张发票有几条记录)。两个字段链接这些记录集:日期和参考。
虽然我已经看到了创建 DAO.Relation 的示例,但我不知道如何使用它,并欢迎一些建议。
如果您正在寻找像.Net 分层数据集这样的功能,那么 DAO 或 ADO 中没有这样的功能。