I have VB Code running (which I pulled from another site), and I was wondering if there was anyway to make it say that ONLY these entries are valid.
DoCmd.SetWarnings False
If IsNull(DLookup("ProgramName", "tbl123", "ProgramName ='" & Me.ProgramName & "'")) Then
DoCmd.RunSQL "INSERT INTO...