Lorenzo
Lorenzo

Reputation: 4648

Recordset close and set to nothing one-liner

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

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

Upvotes: 0

Views: 779

Answers (1)

CaBieberach
CaBieberach

Reputation: 1768

Could it be this?

 rst.Close : set rst = nothing

HTH

Upvotes: 3

Related Questions