Hello Folks,
I have a combo box that takes a query for its values.
When I pop the combo box, it asks me for a value/parameter (which I input with a barcode scanner).
Works fine, and returns the record I want.
But, I can't figure out how to remove/reset that parameter value so I can, after saving/inserting the new record, hit that drop down again on the form, and again be prompted for a new value.
I tried adding a button that, OnClick did the following:
Private Sub btnChooseAnotherDrive_Click()
Me.Scan_Serial_Number_Now.Value = Null
End Sub
...but no joy... The debugger yells at me...
Can someone tell me how to reset a parameter for a query in this case?
I have a combo box that takes a query for its values.
When I pop the combo box, it asks me for a value/parameter (which I input with a barcode scanner).
Works fine, and returns the record I want.

But, I can't figure out how to remove/reset that parameter value so I can, after saving/inserting the new record, hit that drop down again on the form, and again be prompted for a new value.
I tried adding a button that, OnClick did the following:
Private Sub btnChooseAnotherDrive_Click()
Me.Scan_Serial_Number_Now.Value = Null
End Sub
...but no joy... The debugger yells at me...
Can someone tell me how to reset a parameter for a query in this case?