S
Shreekant Patel
Hi
I was wondering if I could get some advice on the design and table
relationship for my database. The purpose of the database is for data
entry. There are some fields that have been populated with data and
some that need to be entered by our users.
On my form there are 3 main combo boxes, "Line",
"Asset_Number", and "E Asset Type".
The way I want to design the form is that if a user selects a certain
Line, all the Asset Numbers relevant to that particular Line appear in
the Asset_Number combo box.
The structure of the tables:
What I have tried doing is adding LineID to tblAsset_Number but I seem
to get an error when creating the relationship. I am dragging LineID
from tblLine to tblAsset_Number, LineID. I check Enforce Referential
Integrity and I get the following error:
"Relationship must be on the same number of fields with the same data
types."
If you require any more info please let me know. I appreciate the help
I get.
Thank You
Shreekant
I was wondering if I could get some advice on the design and table
relationship for my database. The purpose of the database is for data
entry. There are some fields that have been populated with data and
some that need to be entered by our users.
On my form there are 3 main combo boxes, "Line",
"Asset_Number", and "E Asset Type".
The way I want to design the form is that if a user selects a certain
Line, all the Asset Numbers relevant to that particular Line appear in
the Asset_Number combo box.
The structure of the tables:
tblLine - holds the 10 different lines which can users select from
LineID PK
Line
tblAsset_Number - Each line has about 100 records which have an Asset Number.
Asset_NumberID PK
AsseT_Number
What I have tried doing is adding LineID to tblAsset_Number but I seem
to get an error when creating the relationship. I am dragging LineID
from tblLine to tblAsset_Number, LineID. I check Enforce Referential
Integrity and I get the following error:
"Relationship must be on the same number of fields with the same data
types."
If you require any more info please let me know. I appreciate the help
I get.
Thank You
Shreekant