BillHesson
Registered User.
- Local time
- Yesterday, 21:34
- Joined
- Mar 31, 2005
- Messages
- 15
I am trying to make a query that will take the value in a textbox on a form to determine the field to show from the queries underlying table. for example:
fields step, 1, 2, 3, 4, 5 and records a, b, c, d
step 1 2 3 4 5
a
b ......"x"
c
d
I have the query set up to select the specific record based on the step field, but I want to show the value from field that is determined by the entry from the form. Basically this is a pay scale that is based on step(a,b,c,d...) and class(1,2,3,4,5...) values both from the form and want to fill in the forms Pay textbox with the value of Class 2, step b("x") or what ever step and class is in the form. Any suggestions?
Thanks in advance!!
fields step, 1, 2, 3, 4, 5 and records a, b, c, d
step 1 2 3 4 5
a
b ......"x"
c
d
I have the query set up to select the specific record based on the step field, but I want to show the value from field that is determined by the entry from the form. Basically this is a pay scale that is based on step(a,b,c,d...) and class(1,2,3,4,5...) values both from the form and want to fill in the forms Pay textbox with the value of Class 2, step b("x") or what ever step and class is in the form. Any suggestions?
Thanks in advance!!