Howdy,
I'm trying to write some code that would search through the table (that is the record source for my form) that would look to see if a new PrimaryKey entered into a text bok already exits in the table (before Access does so upon close and present an un-user friendly message).
I know that I need to use the recordset clone because I don't want to change my new record to one that is found. The code that I used so far didn't work.
P.S., can you tell that I'm new to working with record sets.
Please help!!!
Thank you kindly
I'm trying to write some code that would search through the table (that is the record source for my form) that would look to see if a new PrimaryKey entered into a text bok already exits in the table (before Access does so upon close and present an un-user friendly message).
I know that I need to use the recordset clone because I don't want to change my new record to one that is found. The code that I used so far didn't work.
P.S., can you tell that I'm new to working with record sets.
Please help!!!
Thank you kindly