Hi all,
I've been fiddling around with creating a new database (Access 2003, Windows XP) for work the past two weeks and am having trouble defining my own customized (yet still automatic) primary key.
I have three different tables that need data inputted (Clients [P], Complaints [C], and Queries [Q]) and need individual primary keys for each that are easily identifiable by the first letter and indicative year.
I was hoping for something along the lines of P08/, C08/, Q08/ etc... then have the record number after it.
I've tried making the list in an external program and linking it - doesn't work.
Tried making a separate table to link to it - doesn't work.
I'm not sure if making a new row for 'pre-primary key' would work - since I need to report on the full number (my pre-key and the automatic key combined).
Is there any way I can do this? I've been scouring the internet for any info for hours now and my eyes are starting to blur ;)
Thanks for any help. This isn't urgent but was hoping to get this database finished and out of my hands by next week if possible.
I've been fiddling around with creating a new database (Access 2003, Windows XP) for work the past two weeks and am having trouble defining my own customized (yet still automatic) primary key.
I have three different tables that need data inputted (Clients [P], Complaints [C], and Queries [Q]) and need individual primary keys for each that are easily identifiable by the first letter and indicative year.
I was hoping for something along the lines of P08/, C08/, Q08/ etc... then have the record number after it.
I've tried making the list in an external program and linking it - doesn't work.
Tried making a separate table to link to it - doesn't work.
I'm not sure if making a new row for 'pre-primary key' would work - since I need to report on the full number (my pre-key and the automatic key combined).
Is there any way I can do this? I've been scouring the internet for any info for hours now and my eyes are starting to blur ;)
Thanks for any help. This isn't urgent but was hoping to get this database finished and out of my hands by next week if possible.
Comment