Advertisement

05.16.2008 at 07:54AM PDT, ID: 23408500
[x]
Attachment Details

Format Phone Number on Report in Access

Asked by linbayzak in Access Reports

Tags: Microsoft, Access, 2003, None

Hi There, I have a report in an Access Database that prints off onto a pre-formatted page.  I am trying to get the area code, mid three numbers, and last three numbers in the correct position.  What is returning however, is not the correct numbers.  The record from the query that populates this form is called HomePhone.  This is what I have in the area I want to return an area code:
=Mid([HomePhone],2,3) I am getting the last number of the area code and the first two numbers of the middle three
This is what I have in the field that puts the remaining seven numbers:
=Mid([HomePhone],7,3) & Mid([HomePhone],10,5) I am getting only the last four numbers of the phone number.
Doesn't make sense to me.  Thanks in advance for your help :-)Start Free Trial
[+][-]05.16.2008 at 08:03AM PDT, ID: 21583355

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 08:04AM PDT, ID: 21583368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 08:13AM PDT, ID: 21583450

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 08:17AM PDT, ID: 21583481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 08:18AM PDT, ID: 21583500

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Reports
Tags: Microsoft, Access, 2003, None
Sign Up Now!
Solution Provided By: frankytee
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.16.2008 at 08:40AM PDT, ID: 21583736

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 08:45AM PDT, ID: 21583781

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 09:06AM PDT, ID: 21583985

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628