Parts is the Table
Daily Transactions is the data entry form
Is this close?
Thanks for all your help!!
Private Sub Part_Number_LostFocus()
Dim Part_No As String
Part_No = DLookup("[Part#]", "Parts", "[Part#]= " _
& [Forms]![Daily Transactions]![Part#] & "'")
If IsNull(Part_No)...
I have a field "Part#" (text)in the daily transactions table. When data entry person enters Part # in the form, I want to make sure the part # is a valid Part # according to a field called "Part#" in the table called Parts.
If it does not exist in the Parts talble, I want a message to pop up.
Is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.