G
G deady via AccessMonster.com
I am writing a db to manage my lawoffice. I have played with access on and
off over the years but am essentientally a newbee. Each client will have a
unique identifier consisting of two numbers. The first is a client id
number whch is an autonumber(I have written an append query so the auto
numbers will correspond to my own numbering system. The second is a case
id number. For exambple, person can have two legal matters-say a divorce
and a Will. One file number would be 200501-01 and the second would be
200501-02. I have the case number to be manually entered. Heres my
problem. Each case number must be unique to each client number but start
over again with each new client-ie I can't have two 200501-01 entries but
MUST have 200501-01, 200501-02 and then start over again with 200502-01.
This creates a situation that is ripe for error. Can anyone suggest a
validaton rule that will prevent the user from entering the same case
number a second time where the client id name is the same? Or some other
solution for that matter. Thanks.
off over the years but am essentientally a newbee. Each client will have a
unique identifier consisting of two numbers. The first is a client id
number whch is an autonumber(I have written an append query so the auto
numbers will correspond to my own numbering system. The second is a case
id number. For exambple, person can have two legal matters-say a divorce
and a Will. One file number would be 200501-01 and the second would be
200501-02. I have the case number to be manually entered. Heres my
problem. Each case number must be unique to each client number but start
over again with each new client-ie I can't have two 200501-01 entries but
MUST have 200501-01, 200501-02 and then start over again with 200502-01.
This creates a situation that is ripe for error. Can anyone suggest a
validaton rule that will prevent the user from entering the same case
number a second time where the client id name is the same? Or some other
solution for that matter. Thanks.