J
Jean
Hi,
I am using MS ACCESS 2002 on Windows 2000. I want to know how to pass the
value of the global variable as part of the argument for stLinkCriteria that
specify the actual field data.
''''''' Global Variable''''''''
stWhichContact = "Me![Course Admin ContactID]"
stLinkCriteria = "[ContactID]=" & stWhichContact
How do I code the above line so, the stLinkCriteria will return the actual
field value of Me![Course Admin ContactID] ?
I want
stLinkCriteria = "[ContactID] = 2"
instead of
stLinkCriteria = "[ContactID] = Me![Course Admin ContactID]"
Thanks,
Jean
I am using MS ACCESS 2002 on Windows 2000. I want to know how to pass the
value of the global variable as part of the argument for stLinkCriteria that
specify the actual field data.
''''''' Global Variable''''''''
stWhichContact = "Me![Course Admin ContactID]"
stLinkCriteria = "[ContactID]=" & stWhichContact
How do I code the above line so, the stLinkCriteria will return the actual
field value of Me![Course Admin ContactID] ?
I want
stLinkCriteria = "[ContactID] = 2"
instead of
stLinkCriteria = "[ContactID] = Me![Course Admin ContactID]"
Thanks,
Jean