Advertisement

07.18.2008 at 10:37AM PDT, ID: 23577595
[x]
Attachment Details

Filtering output data

Asked by tlpadmin in Microsoft Access Database, Microsoft Office Suite, Access Reports

Tags: , ,

Greetings,

I have a table that contains (among other things)fields for city, state and phone number.

In the phone number field, the numbers are strung together with no masks or ostensible non-numeric charecters.

I need to take that data and report on it. The idea is to ignore the area code of the phone number, but count the prefix and provide a total.

example:
Lets say I have an entry of 2015556789 for the city of Elko in the state Nevada.
The prefix of 555 and the location of Elko is the information I wish to gather.

Once gathered, I want to tally up the total number of matching prefixes and their matching city. The final result might be something like this:

Prefix | City | Total number of entries
555    | Elko | 50 entries


My greatest challenge so far is figuring out how to isolate the prefixes. How do I ignore the area code and get only the prefix?Start Free Trial
[+][-]07.18.2008 at 10:48AM PDT, ID: 22038129

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.

 
[+][-]07.18.2008 at 10:51AM PDT, ID: 22038149

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.

 
[+][-]07.18.2008 at 01:27PM PDT, ID: 22039504

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.

 
[+][-]07.19.2008 at 05:30PM PDT, ID: 22044039

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.

 
[+][-]07.19.2008 at 05:31PM PDT, ID: 22044043

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.

 
[+][-]07.20.2008 at 01:37AM PDT, ID: 22044966

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

Zones: Microsoft Access Database, Microsoft Office Suite, Access Reports
Tags: Microsoft, Access, 2007
Sign Up Now!
Solution Provided By: jjafferr
Participating Experts: 4
Solution Grade: A
 
 
[+][-]07.21.2008 at 09:49AM PDT, ID: 22052137

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.

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