Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting the ADP Phone number

Status
Not open for further replies.

DeeGeeWhy

Technical User
Jun 24, 2004
1
US
I am assisting our PAyroll folks who use ADP (PCPW) with a report which will be used t ogenerate an interface file. To the best of my understanding, the AreaCode and Phone Number are two seaparate fields (we have them as separate fields in our upload). Our Payroll use is now running a ReportSMith report to extract data - she is able to get the hone number selected, but is also getting the "Areacodephone#" as a single field? My questions are:
1) Can we extract the area code as a separate field?
2) When there is NO value for areacodephone#, the format mask is still returned (i.e. the brackets are returned "()". How can we get thsoe removed?

Thanks for your help.
 
Not real pretty but it might work for you.

Create a derived field for you phonenumber.

REPLACE((REPLACE("REPORTS"."V_EMPLOYEE"."AREACODEPHONE#",'(')),')')

This gets rid of '()'. Watchout for the spacing.


David Black, CSQA
Sr. Systems Analyst
Teepak, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top