Duplicate entries and Database Security

P

Paul M

I want to ensure that the user cannot enter a duplicate
entry of an company's name. I've done it using an ADO
connection then searching through each company name in
the Company table. This works fine but when I add share
level or user level security, I need the password to open
the ADO connection within the code. This is fine for me,
but not the users since I don't want them to access the
VBA and I don't want to put the onus on them.

Is there an easier way to check for duplicate entries so
that I can still password protect the database, allowing
the administrator to change this when deemed necessary. I
am sure there must be but I just can't sort this one out!

Any advice would be appreciated sincerely.

Regards

Paul M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top