相关疑难解决方法(0)

是否需要在VBA函数中将对象设置为Nothing

我总是读到,一旦我完成它们,建议将对象设置为空.但我通常只在表单内的函数中使用它们.

在保留功能范围时,是否丢失了引用并释放了内存,而不管将对象设置为Nothing?

即是否真的有必要这样做:

Set db = Nothing
Set record_set = Nothing
Run Code Online (Sandbox Code Playgroud)

ms-access vba office-2003 access-vba

62
推荐指数
3
解决办法
6万
查看次数

标签 统计

access-vba ×1

ms-access ×1

office-2003 ×1

vba ×1