When you set up your tables, each is like a noun and then the fields are
adjectives that describe it.
Make sure each table does have an Autonumber field...StoreID, LeaseID,
PaymentID
So, your tables would be something like: Stores, Leases, Transactions
(Payments and Costs)
just guessing since you didn't specify...
A lease can cover many stores
A store can have more than one lease
A customer can go to any store
Transactions are allocated to (1) store (2) customer
Then, when you have described each table, you need to figure out how
they relate to each other and put linking fields into place.
To join Leases and Stores, since this is a many-to-many relationship,
you can use a linking table, such as StoreLeases with:
StLeaseID, autonumber
StoreID, long integer
LeaseID, long integer
Transactions would probably have a StoreID in the transaction record as
well as a CustomerID, ItemID (what it was for), etc
You would need a table to keep track of your lease companies too -- put
all company information into one table, such as Companies, and have a
category field for type or company as opposed to just a table for
LeaseCompanies
Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
D. M. wrote:
|