Re: AutoNumber Question



good point.
the Auto Number is sort like a VIN on a car, you rarely have to see it, but
its there and its serving a purpose,, and nobody committs it to memory, if
they would it would just confuse them. you convinced me, im an auto number
guy from now on.
thanks


"tina" <nospam@xxxxxxxxxxx> wrote in message
news:PAP2g.35270$az4.14873@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
well, personally, i would not use the SSN as a primary key, for 2 reasons.
first, SSNs are unfortunately not unique; there are many, many duplicates
floating around out there. of course, only one person is using a specific
SSN *legally*, but unless you want to get into tracking down fraudulent
use... second, if you use the SSN as primary key, you'll have it
populating
multiple tables, potentially scattered all over your database. again,
personally, i would safeguard an SSN the same way i would a credit card
number, in my database; put it in one place, and one place only, so it's
easier to protect by whatever means you use to secure proprietary data.

having said all that, there's no reason you can't use an Autonumber as the
primary key field for your employee table *as long as it is a value the
has
no meaning to anyone, only to Access*. your user should never see an
Autonumber primary key, or use it directly to search for a record in the
table. don't confuse how your *user* finds a certain record in a table
with
how *Access* identifies each record in a table. you can easily use an
Autonumber primary key and still allow your user to seach for an employee
record using the person's SSN.

hth


"accessquestions" <vinootz@xxxxxxxxxxx> wrote in message
news:uhOmL0vZGHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
As far as a Primary Key is concerned (for an Employee Table)
I have read numerous times on the boards NOT to use the Auto Number
feature,
I'm not sure exactly why, although I could see where the random number
can
confuse some.
Would anyone recommend using a SSN instead? It will be unique, and it
will
serve as a good reference to the employee.
Any thoughts of why or why not?

Thanks Again !

VL






.



Relevant Pages

  • Re: Field Privacy
    ... want to make it so I can input the SSN number when I add an employee but make ... Leave the SSN field in the Employee table, with a unique Index, but not make ... it the primary key; and of course don't include it in any other tables. ... Another MVP very aptly described this document as "thirty pages, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: AutoNumber Question
    ... well, personally, i would not use the SSN as a primary key, for 2 reasons. ... Autonumber primary key and still allow your user to seach for an employee ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Which database design is better
    ... Each employee only works for one store. ... not have SSN number since this could be used in places other than US. ... CONSTRAINT PK_Key_Employee PRIMARY KEY ...
    (microsoft.public.sqlserver.programming)
  • Re: primary key for a personnel system
    ... personel system you will need to store the SSN (or whatever identification ... the employee uses) for tax purposes if nothing else, ... I 100% agree with you that the primary key should not ever change (I don't ... but no chance that multiple ...
    (microsoft.public.sqlserver.programming)
  • Re: serial numbers in tables
    ... get an auto generated serial number for each employee entry. ... A primary key field MUST be defined with certain characteristics: ... The PK field can be either a number or text type; if defined as a number field then an auto enter serial starting 1, increment 1 is used. ...
    (comp.databases.filemaker)

Loading