I previously had an issue using a button to open a form when the Customer name had an "&" special character in it's name, i.e. Jones & Sons. I solved that by writing following code:
stLinkCriteria = "[ EUContact]=" & Chr(34) & Me![ EUContact] & Chr(34)
I have run into the same issue when the Customer has an apostrophe in it's name, i.e. St. John's Church.
For the life of me, I can not find the Chr # that represents an apostrophe. Does anyone know what that might be? Also, how would I write the code to cover both instances.... "&" and " ' "......
Thank you......Mark
stLinkCriteria = "[ EUContact]=" & Chr(34) & Me![ EUContact] & Chr(34)
I have run into the same issue when the Customer has an apostrophe in it's name, i.e. St. John's Church.
For the life of me, I can not find the Chr # that represents an apostrophe. Does anyone know what that might be? Also, how would I write the code to cover both instances.... "&" and " ' "......
Thank you......Mark