G
Guest
This is really made a mess. I'm working on "fixing" a lease management
database, (which at this point is just used to house data). There are many
tables in the database. But the main table is called tblStores.
The fields are:
StoreID
StoreNo
Address1
Address2
City
State-Province
Zip-PostalCode
Country
Region
Status (drop down box negotiating, approved, open and closed)
I then have a table housing lease information such as, commencement date,
expiry date, term, etc., etc.
Each table has its own ID (StoreID, LeaseID, PaymentID, etc.)
I'm really confused as to how these should relate. I believe that whoever
created this database really got it backwards. Each of the tables has the
storeID as a secondary primary key and the relationships are all based on the
StoreID.
But that doesn't work. Can anyone help?
Thanks
database, (which at this point is just used to house data). There are many
tables in the database. But the main table is called tblStores.
The fields are:
StoreID
StoreNo
Address1
Address2
City
State-Province
Zip-PostalCode
Country
Region
Status (drop down box negotiating, approved, open and closed)
I then have a table housing lease information such as, commencement date,
expiry date, term, etc., etc.
Each table has its own ID (StoreID, LeaseID, PaymentID, etc.)
I'm really confused as to how these should relate. I believe that whoever
created this database really got it backwards. Each of the tables has the
storeID as a secondary primary key and the relationships are all based on the
StoreID.
But that doesn't work. Can anyone help?
Thanks