W
William P.
Hi all,
I am trying to create a query that will display an
employees salary. In my problem, I have 2 tables,
tblEmployeeData and tblClassifications. Each table has a
common field called Classification Code. The
tblEmployeeData table contains another field called Pay
Step, which contains a numeric value from 0-50. The
tblClassifications table has fields for pay steps, ie.
Step 0, Step 1, Step 2, etc. The tblClassifications table
looks like this:
Classifcation Code Step 0 Step 1 Step 2
A 10,532 12,847 13,700
C 15,450 16,310 17,216
TE 16,290 17,830 18,420
There is no pattern to the value increases between steps
(% or $ amount). I am trying to create a query that will
list the salary of all employees based on the
classification code and the pay step. I tried creating a
new field in my query using this method but it didn't
work: (because of the outermost braces)
Salary: ["Step" & " " & [Pay Step]]
Is there any way to concatenate a field from a record
with text and use the result as the name of another
field? I was able to create the field name "Step 0" in as
a value by eliminating the outermost braces but haven't
been able to figure out any way to use that result as the
field name.
If anyone has any suggestions I am open to your thoughts.
I would also appreciate any alternatives on how I might
set this up. Would a pivot table work in this situation?
As you can probably guess, I am not very well versed in
Access, but I am learning!
Thanks,
William P.
I am trying to create a query that will display an
employees salary. In my problem, I have 2 tables,
tblEmployeeData and tblClassifications. Each table has a
common field called Classification Code. The
tblEmployeeData table contains another field called Pay
Step, which contains a numeric value from 0-50. The
tblClassifications table has fields for pay steps, ie.
Step 0, Step 1, Step 2, etc. The tblClassifications table
looks like this:
Classifcation Code Step 0 Step 1 Step 2
A 10,532 12,847 13,700
C 15,450 16,310 17,216
TE 16,290 17,830 18,420
There is no pattern to the value increases between steps
(% or $ amount). I am trying to create a query that will
list the salary of all employees based on the
classification code and the pay step. I tried creating a
new field in my query using this method but it didn't
work: (because of the outermost braces)
Salary: ["Step" & " " & [Pay Step]]
Is there any way to concatenate a field from a record
with text and use the result as the name of another
field? I was able to create the field name "Step 0" in as
a value by eliminating the outermost braces but haven't
been able to figure out any way to use that result as the
field name.
If anyone has any suggestions I am open to your thoughts.
I would also appreciate any alternatives on how I might
set this up. Would a pivot table work in this situation?
As you can probably guess, I am not very well versed in
Access, but I am learning!
Thanks,
William P.