K
Karen
Hi,
I have created a database that tracks equipment.
I created a table called Location with the following
fields:
Loc_Id (auto_number and primary key)
Bldg
Room
Cubicle
Then I created another table called Asset_Details that
holds the details of the equipment. Loc_Id is a foreign
key in this table with number as a data type in the table
design.
In the relationships view I added the Location Table and
Asset Details table and when I try to link the Loc_Id's
together to create referential integrity I get an error.
Do they both have to be the same data type. I am able to
join them without using referential integrity but I want
to be able to update a bldg on a form and make sure that
both tables will be updated.
Any help is appreciated..
I have created a database that tracks equipment.
I created a table called Location with the following
fields:
Loc_Id (auto_number and primary key)
Bldg
Room
Cubicle
Then I created another table called Asset_Details that
holds the details of the equipment. Loc_Id is a foreign
key in this table with number as a data type in the table
design.
In the relationships view I added the Location Table and
Asset Details table and when I try to link the Loc_Id's
together to create referential integrity I get an error.
Do they both have to be the same data type. I am able to
join them without using referential integrity but I want
to be able to update a bldg on a form and make sure that
both tables will be updated.
Any help is appreciated..