A
Angel G
I have a combo box in an ADP database with an After Update function as
follows:
Private Sub PartNumberTestcbx_AfterUpdate()
Forms![AMC_PartNumberTests].RecordSource = "SELECT AMC_PartNumberTests.*
FROM AMC_PartNumberTests WHERE PartNumberID = '" & [PartNumberTestcbx] & "'"
Forms!AMC_PartNumberTests.Requery
DoCmd.GoToRecord , , acLast
Detail.Visible = True
End Sub
All works but the problem is that the combo box does not display the value
selected at times. It is blank, but if you put the cursor in it, it displays
it. Does any one know how to correct this issue?
follows:
Private Sub PartNumberTestcbx_AfterUpdate()
Forms![AMC_PartNumberTests].RecordSource = "SELECT AMC_PartNumberTests.*
FROM AMC_PartNumberTests WHERE PartNumberID = '" & [PartNumberTestcbx] & "'"
Forms!AMC_PartNumberTests.Requery
DoCmd.GoToRecord , , acLast
Detail.Visible = True
End Sub
All works but the problem is that the combo box does not display the value
selected at times. It is blank, but if you put the cursor in it, it displays
it. Does any one know how to correct this issue?