J
Joel
TIA:
I have the following:
stLinkCriteria = "[Common Name]=" & "'" & [MaterialDescription] & "'"
This works fine unless [MaterialDescription] contains an ' as some of the
data does such as "Mary's". I have read about using double quotes. I have
tried
stLinkCriteria = "[Common Name]=" & """'" & [MaterialDescription] & "'"""
and it doesn't work.
I have tried
stLinkCriteria = "[Common Name]=" & """ & [MaterialDescription] & """""
and it doesn't work.
What am I missing here. What is the correct syntax?
Thanks,
Joel
I have the following:
stLinkCriteria = "[Common Name]=" & "'" & [MaterialDescription] & "'"
This works fine unless [MaterialDescription] contains an ' as some of the
data does such as "Mary's". I have read about using double quotes. I have
tried
stLinkCriteria = "[Common Name]=" & """'" & [MaterialDescription] & "'"""
and it doesn't work.
I have tried
stLinkCriteria = "[Common Name]=" & """ & [MaterialDescription] & """""
and it doesn't work.
What am I missing here. What is the correct syntax?
Thanks,
Joel