Hi there. I am having trouble outputting mail merge formatting.
This thread: thread68-235292 pretty much answered all of my questions and helped out great!
The function:
works great.
Except one thing.
For some records this value is empty. How do I prevent Access from displaying "() -" (sans quotes) for null fields in the query?
I would let them stay but that would mean when it was merged with an empty phone number it would show () - for the phone field in the mail merged document.
It seems like it's just a matter of displaying an empty value "" or not applying this function to null values, I just can't figure how to code it.
Thanks. - William ~^~ ~^~
~ W . I . L . L . Y . U . M ~
wOrLd WiDe WhAt?
This thread: thread68-235292 pretty much answered all of my questions and helped out great!
The function:
Code:
WorkPhoneP: "(" & Left([WorkPhone],3) & ") " & Mid([WorkPhone],4,3) & "-" & Right([WorkPhone],4)
Except one thing.
For some records this value is empty. How do I prevent Access from displaying "() -" (sans quotes) for null fields in the query?
I would let them stay but that would mean when it was merged with an empty phone number it would show () - for the phone field in the mail merged document.
It seems like it's just a matter of displaying an empty value "" or not applying this function to null values, I just can't figure how to code it.
Thanks. - William ~^~ ~^~
~ W . I . L . L . Y . U . M ~
wOrLd WiDe WhAt?