Why when you declare a variable you use SetTempVar, but when you reference it you use TempVars (plural)?
Donald Blackwell
@Reply 20 months ago
When you "Set" a temp var, you are setting one variable. When you are referencing it, you are accessing the "TempVars" collection.
ex: Set TempVar("MyVar") = something -- you are specifically referencing that var.
MyField = TempVars("MyVar") -- you are setting the value of a field to one member of the tempvars collection
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Advanced 4.