-----Original Message-----
It doesn't matter whether they are in order. If you have the value set as
unique or as a primary key, you can't add the number period! If the number
exists in that field it will tell you, otherwise it will be entered as a
valid number. Setting the field as Primary will alphabetize the values
automatically. If you want the values in alpha order on your form, then
create a query which will sort by that field and use that query to connect
your form. Be sure to add all the fields from the table to the query so it
will be updateable.
On Wed, 22 Oct 2003 00:58:07 GMT, Skully Matjas
I want to set a validation rule that a field cant
have the same
number
as another entery for the same field.
I want it to do this when i am entering it into a
form, so if it is
a
duplicate it would tell me that.
The form and table name iS: "Ralphs cards" the field is called
"Ralphs#"
Simply make [Ralphs#] the Primary Key of the table,
or create a
unique
Index on the field. A validation rule isn't the right place to do
this.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps? loc=us&access=public
I wish I could, but i am copying these numbers off of the cards that
were all ready issued, but these numbers are not in order. Please help
thankx
.