Recordset关闭并设置为无衬里

时间:2021-11-29 19:11:55

I remember there was a shorthand syntax that was commonly used to close the recordset and set it to nothing in one line it used a syntax like

我记得有一种简写语法通常用于关闭记录集并在一行中将其设置为空,它使用的语法类似

rst.Close := Nothing

rst.Close:=没什么

But cannot remember the right syntax, anybody out there with a better memory than mine? Google couldn't help in this case.

但是不记得正确的语法,那里的人有比我更好的记忆吗?谷歌在这种情况下无法帮助。

1 个解决方案

#1


3  

Could it be this?

可能是这个吗?

 rst.Close : set rst = nothing

HTH

HTH

#1


3  

Could it be this?

可能是这个吗?

 rst.Close : set rst = nothing

HTH

HTH