Is there a way to define in a report a format that would change a table value of 8011234567 to (801)123-4567?
.
I am using the following code:
.
="Phone: " & Iif ([Phone] = 0,[ContractorPhone],[Phone]& " Fax: " & (Iif ([Fax] = 0, [ContractorFax], [Fax])
The output looks like this:
Phone: 8011234567 Fax: 8017654321
But I want it to look like:
Phone: (801)123-4567 Fax: (801)765-4321
Any Ideas?
.
I am using the following code:
.
="Phone: " & Iif ([Phone] = 0,[ContractorPhone],[Phone]& " Fax: " & (Iif ([Fax] = 0, [ContractorFax], [Fax])
The output looks like this:
Phone: 8011234567 Fax: 8017654321
But I want it to look like:
Phone: (801)123-4567 Fax: (801)765-4321
Any Ideas?