Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check existing record in a table 1

Status
Not open for further replies.

nat35

Programmer
Nov 10, 2002
86
0
0
AU
Hi there,
I have an add form and a table with a multiple-field primary key.How can I check if the record already exist in table.I also want to get rid of the long access massege and send mine that duplicate is already exist.Is it any easy way to do it
Thanks in advance
 
open a recordset clone and search for the key. If nomatch is true, the recordset does not have the value you are looking for.

want a sample, send your email address.

rollie@bwsys.net
 
Thanks Rollen,
That is exactly what I need.
I want to give you a star but i don't know how.
 
Thanks Nat,

Just click on the 'Mark this post as a helpful/ expert post.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top