G
Guest
So I am really new to Access and have what is probably a simple question.
Basically, I am a nurse working in a hospital. I want to enter pt. data into
the database and then create various reports from that data. My issue is
with the data entry. Each pt is identified by a unique hospital ID number
which is assigned as the primary key. From there I have several fields such
as lastname, firstname, phsyician, diagnosis, etc. I have created a form
with all of these items in it so I can enter the data. What I want to do is
open my form and in the hospital id box type in a previously entered id and
have it autofill all the rest of the information. This would easily allow
people to go back and change or add information at a later time. At the
present when I type in a hospital id number that is already in use I just get
an error saying I am duplicating a primary key. I have seached and searched
and am at a loss for how to do this. I hope this makes sense and appreciate
any assistance. Thanks!
NooB
Basically, I am a nurse working in a hospital. I want to enter pt. data into
the database and then create various reports from that data. My issue is
with the data entry. Each pt is identified by a unique hospital ID number
which is assigned as the primary key. From there I have several fields such
as lastname, firstname, phsyician, diagnosis, etc. I have created a form
with all of these items in it so I can enter the data. What I want to do is
open my form and in the hospital id box type in a previously entered id and
have it autofill all the rest of the information. This would easily allow
people to go back and change or add information at a later time. At the
present when I type in a hospital id number that is already in use I just get
an error saying I am duplicating a primary key. I have seached and searched
and am at a loss for how to do this. I hope this makes sense and appreciate
any assistance. Thanks!
NooB