troubleshooting Question

Access 2007, input mask

Avatar of Laura Sheldon
Laura SheldonFlag for United States of America asked on
Microsoft Access
4 Comments1 Solution675 ViewsLast Modified:
Is it possible to use an input mask in an "Iif" function in a query to return the following:

A phone number with an extension or one w/o.

123-456-7891, Ext 1234

If applying the input mask using the properties window, I get the following:

(222-333-4444) = (   )  22-2333, Ext. 4444
(222-333-4444, Ext. 555) = (222) 333-4444, Ext. 555

* The Phone and Extension fields are in separate and joined with the following:
Fee Billing Phone: ([ClientPhone] & IIf([ClientExtension] Is Not Null,", " & [ClientExtension]))
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros