haytatreides
IS-IT--Management
i have a primary key that is identical in two tables. I have a form that populates table2, but i need to check to make sure that the primary key (order_number) isn't already present in table2. is there a way to write some code that will check this, and then generate a dialog box informing the user? I figure either a loop that check individual records (which might be the long hard way), or finding out the error number and making a default msgbox. any suggestions from anyone?
hayt
hayt