I believe it passes "by value", as opposed to the default "by reference".
You could also use
Call Execute_SQL_GetRows_Command(CMD)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> Happy to be of service. :) IIRC, adding parentheses around an object type
> will try to pass the default property instead of the object itself.
[quoted text clipped - 42 lines]
>>> >
>>> > Thanks for your help!
Ah, yes, you're right...that's what I was trying to think of earlier. Am I
right in thinking that when it tries to pass the object By Value, though,
that the "value" of the object will be its default property? Or am I just
confused on this one?
Rob
>I believe it passes "by value", as opposed to the default "by reference".
>
[quoted text clipped - 48 lines]
>>>> >
>>>> > Thanks for your help!
Douglas J. Steele - 29 Jun 2007 21:50 GMT
To be honest, I'm not sure what passing an object "by value" results in
(other than not what you want!)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> Ah, yes, you're right...that's what I was trying to think of earlier. Am
> I right in thinking that when it tries to pass the object By Value,
[quoted text clipped - 56 lines]
>>>>> >
>>>>> > Thanks for your help!