K
Kim Doe
Help! I am somewhat new to Access and completed what I thought was
beautiful database design, only to encounter major problems whe
entering data on my form.
I have a Main table that is related (one to many) to several othe
small tables via a control called "PSID." My relationships screen look
like a star, with Main table in the center with several one to man
relationships with other tables via PSID (primary key in Main).
The heart of the problem:
I wanted a single form for data entry, for simplification reasons. T
do this, I created a form for Main that contained command buttons t
open one of the smaller forms. This way a user can fill out a record i
Main and click command buttons to fill out smaller forms as neede
without having to directly open a new form. This worked fine whe
entering my first record in Main. I could fill out forms that wer
opened thru command buttons. But now, I am getting the error "Canno
add or change a record because a related record is required in th
table Main."
The thing is, before I click any command buttons, I have already type
the PSID in Main (therefore creating the related record in Main, no?
and saved it. If I open the table Main, the PSID shows up. So wha
other related record is required??
The reason that I have several small tables is that not every PSID i
Main will have data in the variables within smaller tables.
PLEASE help. I've spent all day trying to figure this out with n
success.
Thanks
beautiful database design, only to encounter major problems whe
entering data on my form.
I have a Main table that is related (one to many) to several othe
small tables via a control called "PSID." My relationships screen look
like a star, with Main table in the center with several one to man
relationships with other tables via PSID (primary key in Main).
The heart of the problem:
I wanted a single form for data entry, for simplification reasons. T
do this, I created a form for Main that contained command buttons t
open one of the smaller forms. This way a user can fill out a record i
Main and click command buttons to fill out smaller forms as neede
without having to directly open a new form. This worked fine whe
entering my first record in Main. I could fill out forms that wer
opened thru command buttons. But now, I am getting the error "Canno
add or change a record because a related record is required in th
table Main."
The thing is, before I click any command buttons, I have already type
the PSID in Main (therefore creating the related record in Main, no?
and saved it. If I open the table Main, the PSID shows up. So wha
other related record is required??
The reason that I have several small tables is that not every PSID i
Main will have data in the variables within smaller tables.
PLEASE help. I've spent all day trying to figure this out with n
success.
Thanks