Basic form setup Q.

J

Janet

Hi,
I set up an Access form connected to SQL2k tables.
I noticed that I can duplicate a field which has a unique number
(ContractNo). The latter is a 6 digit number and it shouldn't be duplicated.
How to I prevent it?
I even created a field called 'AlreadySaved' and I populate it with a 1
automatically when saving the data but I don't find a way to use it to
prevent duplication.
Any help is appreciated.
Janet
 
G

Gary Miller

Janet,

You will probably need to supply some more details. What is the field type
in SQL2K? How are you doing your inserts? Are there any constraints? Is this
supposed to be the primary key?

Gary Miller
 

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