Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Comparison in Derived Field (PCPW)

Comparison in Derived Field (PCPW)

Comparison in Derived Field (PCPW)

I am using ADP - PCPW and would like to create a derived field to describe an employees position in the paygrade range based on the percentofrange.  I couldn't figure out how to use comparisons like "percentofrange >= 67) so I resorted to the brute force method below.  Is there a more elegant way to do this?

Thanks in advance for any help.


0,'Below Minimum',
 1,'Lowest Third - Bottom Half',
 2,'Lowest Third - Bottom Half',
 3,'Lowest Third - Bottom Half',
 4,'Lowest Third - Bottom Half',
 5,'Lowest Third - Bottom Half',
 6,'Lowest Third - Bottom Half',
 7,'Lowest Third - Bottom Half',
 8,'Lowest Third - Bottom Half',
 9,'Lowest Third - Bottom Half',
10,'Lowest Third - Bottom Half',
11,'Lowest Third - Bottom Half',
12,'Lowest Third - Bottom Half',
13,'Lowest Third - Bottom Half',
14,'Lowest Third - Bottom Half',
15,'Lowest Third - Bottom Half',
16,'Lowest Third - Bottom Half',
17,'Lowest Thrid - Top Half',
18,'Lowest Thrid - Top Half',
19,'Lowest Thrid - Top Half',
20,'Lowest Thrid - Top Half',
21,'Lowest Thrid - Top Half',
22,'Lowest Thrid - Top Half',
23,'Lowest Thrid - Top Half',
24,'Lowest Thrid - Top Half',
25,'Lowest Thrid - Top Half',
26,'Lowest Thrid - Top Half',
27,'Lowest Thrid - Top Half',
28,'Lowest Thrid - Top Half',
29,'Lowest Thrid - Top Half',
30,'Lowest Thrid - Top Half',
31,'Lowest Thrid - Top Half',
32,'Lowest Thrid - Top Half',
33,'Middle Third - Below Midpoint',
34,'Middle Third - Below Midpoint',
35,'Middle Third - Below Midpoint',
36,'Middle Third - Below Midpoint',
37,'Middle Third - Below Midpoint',
38,'Middle Third - Below Midpoint',
39,'Middle Third - Below Midpoint',
40,'Middle Third - Below Midpoint',
41,'Middle Third - Below Midpoint',
42,'Middle Third - Below Midpoint',
43,'Middle Third - Below Midpoint',
44,'Middle Third - Below Midpoint',
45,'Middle Third - Below Midpoint',
46,'Middle Third - Below Midpoint',
47,'Middle Third - Below Midpoint',
48,'Middle Third - Below Midpoint',
49,'Middle Third - Below Midpoint',
50,'Middle Third - Above Midpoint',
51,'Middle Third - Above Midpoint',
52,'Middle Third - Above Midpoint',
53,'Middle Third - Above Midpoint',
54,'Middle Third - Above Midpoint',
55,'Middle Third - Above Midpoint',
56,'Middle Third - Above Midpoint',
57,'Middle Third - Above Midpoint',
58,'Middle Third - Above Midpoint',
59,'Middle Third - Above Midpoint',
60,'Middle Third - Above Midpoint',
61,'Middle Third - Above Midpoint',
62,'Middle Third - Above Midpoint',
63,'Middle Third - Above Midpoint',
64,'Middle Third - Above Midpoint',
65,'Middle Third - Above Midpoint',
66,'Middle Third - Above Midpoint',
'Above Middle Third')

RE: Comparison in Derived Field (PCPW)

With SQL Base that is the way to do it.  If you had a CASE statement (Like Oracle does) it would be better.

Specializing in ReportSmith Training and Consulting

RE: Comparison in Derived Field (PCPW)

Thank you!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close