Hi,
I have some code that I just can't get over the line
Dim CompID As Integer
'look for component
CompID = DLookup("ID", "tblComps", "Pnum = '" & Forms!frmGoodsIn!tbScanComp & "'")
If CompID = False Then 'not found
MsgBox "No component found, is this a new Component?", vbQuestion, "No...