D
Design by Sue
I have a form that uses a query to produce a combo box as a list for the user
to choose a PartNumber-Suffix combination (the query includes the fields
PartNumber and Suffix from the PartSuffixTbl and using Expr1 joins them with
a dash between them). The user is to enter a Line number in an unbound text
box. Then the button I created uses SQL to save the line number to the
PartSuffixTbl if the PartNumber and Suffix match that selected in the combo
box. My problem is that the only line number that gets updated is the first
record on my PartSuffixTbl. no matter what is selected in the combo box.
What is the correct language (path) to put in the SQL so that the programming
knows to check the query for the selected PartNumber-Suffix. I have tried
referencing the current form, the combo box and PartNumber (also Suffix). (ie
Forms![LocationFrm3]!]![PartNumber]). I also tried the current form,
PartNumber (also Suffix) (ie
Forms![LocationFrm3]![PartNumberCombo]![PartNumber]).
Any thoughts?
to choose a PartNumber-Suffix combination (the query includes the fields
PartNumber and Suffix from the PartSuffixTbl and using Expr1 joins them with
a dash between them). The user is to enter a Line number in an unbound text
box. Then the button I created uses SQL to save the line number to the
PartSuffixTbl if the PartNumber and Suffix match that selected in the combo
box. My problem is that the only line number that gets updated is the first
record on my PartSuffixTbl. no matter what is selected in the combo box.
What is the correct language (path) to put in the SQL so that the programming
knows to check the query for the selected PartNumber-Suffix. I have tried
referencing the current form, the combo box and PartNumber (also Suffix). (ie
Forms![LocationFrm3]!]![PartNumber]). I also tried the current form,
PartNumber (also Suffix) (ie
Forms![LocationFrm3]![PartNumberCombo]![PartNumber]).
Any thoughts?