Heres the scoop..
Form with a text box([PartFind} - User enters a part number and the onUpdate Event - verify if the part number exists in "Main" Table Field "PN". I need some type of return (true or false) if the value exists in the table, if not MsgBox (Would you like to add the part).
My first attempt was to add a combobox based on the "PN" Field to the form. Then added event for "NOT IN LIST"
It worked (if not in list- msgbox (would u like to add a part?)the problem being I was unable to trap the default Access error msg "The Item you entered was not an item in the list" .
Any thoughts appreciated - Rob
Form with a text box([PartFind} - User enters a part number and the onUpdate Event - verify if the part number exists in "Main" Table Field "PN". I need some type of return (true or false) if the value exists in the table, if not MsgBox (Would you like to add the part).
My first attempt was to add a combobox based on the "PN" Field to the form. Then added event for "NOT IN LIST"
It worked (if not in list- msgbox (would u like to add a part?)the problem being I was unable to trap the default Access error msg "The Item you entered was not an item in the list" .
Any thoughts appreciated - Rob