T
tom
I have created a table for data entry purposes. I do not want user to
be able to enter duplicate dates. I have an autonumber field along
with the date field. To prevent duplicate dates from being entered I
have attempted to make both the autonumber and date field primary
keys. The autonumber filed works fine as a primary key. If I try to
add the date field as a primary key I get the message: "Index or
primary key can not contain a null value". I added an expression to
the default value in the date field =date() but it still doesn't work.
Am I going about this the wrong way? Please help. Thanks in advance!
be able to enter duplicate dates. I have an autonumber field along
with the date field. To prevent duplicate dates from being entered I
have attempted to make both the autonumber and date field primary
keys. The autonumber filed works fine as a primary key. If I try to
add the date field as a primary key I get the message: "Index or
primary key can not contain a null value". I added an expression to
the default value in the date field =date() but it still doesn't work.
Am I going about this the wrong way? Please help. Thanks in advance!