Office中国论坛/Access中国论坛

标题: 最近发现快照比动态集查找速度快好多倍,但不知如何用VBA设置? [打印本页]

作者: 13601812106_01    时间: 2011-10-30 11:07
标题: 最近发现快照比动态集查找速度快好多倍,但不知如何用VBA设置?
我用SQL后台,当有2000条记录时,发现快照比动态集查找速度快好多倍,但不知如何用VBA设置?请指教?
作者: roych    时间: 2011-10-30 11:50
本帖最后由 roych 于 2011-10-30 11:56 编辑

Me.Form.RecordsetType=2

0
Dynaset
(Default) You can edit bound controls based on a single table or tables with a one-to-one relationship. For controls bound to fields based on tables with a one-to-many relationship, you can't edit data from the join field on the "one" side of the relationship unless cascade update (cascading update: For relationships that enforce referential integrity between tables, the updating of all related records in the related table or tables when a record in the primary table is changed.) is enabled between the tables.
1
Dynaset (Inconsistent Updates)
All tables and controls bound to their fields can be edited.
2
Snapshot
No tables or the controls bound to their fields can be edited.


作者: 13601812106_01    时间: 2011-10-31 18:49
十分感谢





欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3