G
Guest
I would like to know how to filter the information displaying on a text box
depending on the value of a combo box. Example i have a Combo box with Values
"A", "B", "C", "D". I have a query with fields A B C D where each field is a
calculation to determine extended time (A*Qty, B*Qty, C*qty, D*Qty). If I
pick "A" from my combo box i want it to display the value in that field
pertinent to the current record.
To give you a picture of what i am working on let me describe what i have so
far
I have a Table with 5 fields "strSku" strTimeA" "strTimeB" "strTimeC"
"strTimeD". I have another table that will capture an employee's Work
Production. the table has "strID", "strSku", "strOperation"(where operation
is A, B, C, D) "strQty", "strTime". Both "strSku" are linked (relationship).
I Have a query that displays the strSku and Quantity from my Production table
and 4 calculation fields that determine the values of strTimeA*qty,
strTimeB*qty, strTimeC*qty, strTimeD*qty. On my form i have the fields from
my "Work Production Table" where the Operations field is a Combo box with A,
B, C, D as the values, I would now like to populate the Times text box by the
results of the query where it would look up the value depending on the value
of the combo box. Ex. I pick "C" in my combo box i would like my "Times" Text
field to show "strTimeC*qty" from my query and insert that value into my
Production table strTimes' field for that record. unless there is an easier
way to do this other than by a query.
I hope you guys understand what i am trying to do...I have a very difficult
time explaining myself and i am fairly new to access so i don't know all the
language of it yet.
Thank you for any and all help you can give.
depending on the value of a combo box. Example i have a Combo box with Values
"A", "B", "C", "D". I have a query with fields A B C D where each field is a
calculation to determine extended time (A*Qty, B*Qty, C*qty, D*Qty). If I
pick "A" from my combo box i want it to display the value in that field
pertinent to the current record.
To give you a picture of what i am working on let me describe what i have so
far
I have a Table with 5 fields "strSku" strTimeA" "strTimeB" "strTimeC"
"strTimeD". I have another table that will capture an employee's Work
Production. the table has "strID", "strSku", "strOperation"(where operation
is A, B, C, D) "strQty", "strTime". Both "strSku" are linked (relationship).
I Have a query that displays the strSku and Quantity from my Production table
and 4 calculation fields that determine the values of strTimeA*qty,
strTimeB*qty, strTimeC*qty, strTimeD*qty. On my form i have the fields from
my "Work Production Table" where the Operations field is a Combo box with A,
B, C, D as the values, I would now like to populate the Times text box by the
results of the query where it would look up the value depending on the value
of the combo box. Ex. I pick "C" in my combo box i would like my "Times" Text
field to show "strTimeC*qty" from my query and insert that value into my
Production table strTimes' field for that record. unless there is an easier
way to do this other than by a query.
I hope you guys understand what i am trying to do...I have a very difficult
time explaining myself and i am fairly new to access so i don't know all the
language of it yet.
Thank you for any and all help you can give.