R
Rasoul Khoshravan Azar
For some reasons (should be discussed later) I have split out my database to
5 tables all haveing a common field (OrderID) which is a primary key to all.
I would like to enter data for all five tables in a single Form (I made a
query and collect all fields from five tables and based the form on this
query), named
"InoutFrm" but when I try to input data in "InputFrm" the following error
message appears:
You cannot add or change a record because a related record is required in
table 'C&FTable'
1- Isn't it a good idea to enter all required data in a single Form? I
checked Northwind sample database and it seams that it has created single
entry form for each table. Is it a rule or just it happened to be so.
2- Why split to five tables.
I am trying to input a physical form which means that one table should be
enough (For a single order all boxes should be filled out) but as the numebr
of fields is about 80, and they are categorized under 5 different category,
I thought makeing five table and relating them by a single primary key
should do the job. Isn't it a good idea to do so?
Any comment on the structure of the DB and above question (input in a single
from) is highly appreciated.
Rasoul Khoshravan Azar
Tabriz, Iran
5 tables all haveing a common field (OrderID) which is a primary key to all.
I would like to enter data for all five tables in a single Form (I made a
query and collect all fields from five tables and based the form on this
query), named
"InoutFrm" but when I try to input data in "InputFrm" the following error
message appears:
You cannot add or change a record because a related record is required in
table 'C&FTable'
1- Isn't it a good idea to enter all required data in a single Form? I
checked Northwind sample database and it seams that it has created single
entry form for each table. Is it a rule or just it happened to be so.
2- Why split to five tables.
I am trying to input a physical form which means that one table should be
enough (For a single order all boxes should be filled out) but as the numebr
of fields is about 80, and they are categorized under 5 different category,
I thought makeing five table and relating them by a single primary key
should do the job. Isn't it a good idea to do so?
Any comment on the structure of the DB and above question (input in a single
from) is highly appreciated.
Rasoul Khoshravan Azar
Tabriz, Iran