If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Want to eliminate Duplicate Values <> Null
I know how to make a column prevent duplicate values with
an index; however, I have a column where many values are null which is OK, but I can't use an index to prevent duplicate entries because it will only allow me one record with the null column value. Does anyone know of a work around where I can root those out and at least pop up a warning to the person entering the record that the value exists in another record? Thanks in advance, Ben |
#2
|
|||
|
|||
Want to eliminate Duplicate Values <> Null
On Wed, 7 Jul 2004 16:41:37 -0700, "Ben"
wrote: I know how to make a column prevent duplicate values with an index; however, I have a column where many values are null which is OK, but I can't use an index to prevent duplicate entries because it will only allow me one record with the null column value. Set the IgnoreNulls property of the Index (which cannot be a Primary Key index, since PK's cannot contain null) to True. John W. Vinson[MVP] Come for live chats every Tuesday and Thursday http://go.compuserve.com/msdevapps?loc=us&access=public |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate Values in Queries | bdehning | General Discussion | 8 | July 18th, 2004 04:02 AM |
Access inconsistencies | Hoopie | Running & Setting Up Queries | 2 | June 15th, 2004 10:53 AM |
Null values | Jean Paul Gevaert | Mailmerge | 3 | June 7th, 2004 03:17 PM |
average, eliminating zero values | Chris | Worksheet Functions | 6 | May 14th, 2004 11:36 PM |
Blanks vs. Null values in Functions | Worksheet Functions | 1 | October 17th, 2003 12:02 PM |