
Originally Posted by
michaeljohnh
Are you using a combo box to select the part number on the form? If so, I'd like to see the row source SQL. There may be something in it unintentionally filtering out alpha characters.
It is just a text box, that is what has got me so confused. And I should specify that for Part Numbers where the alpha characters are at the end, they show up fine. It is when the alpha characters are at the beginning or in the middle of the part number that it doesn't show up.
I also have a part number search function, that shows all the items correctly, but when I select one with the alpha characters at the beginning, it can't find the record.
This is my search routine:
Code:
Private Sub cmbPMAlookup_AfterUpdate()
Form.Recordset.FindFirst "Projects." + "[pmaPartNumber]='" + cmbPMAlookup.Text + "'"
End Sub