R
Russell Pascoe
Hi,
I run a small property rental company. I have a database that contains
several tables. The main table has Tenant Information (primary key, first
name, last name, property, move in date, move out date, rent account number),
another table called Addresses, surprisingly, holds the full address of each
property, where the property name is the primary key and finally a table
called Bank Details and this holds the account number, bank sort code and
propery name, again this is the primary key.
I would like to produce a report that allows me to print the name of the
property, its full address and all of the bank details associated with that
property. This is just a test for me to learn how to make this work for more
useful tasks with the "main" table.
I opened the New Query Wizard and selected the two tables (addresses and
Bank Details) and identified which fields I wanted to be shown. When I look
at the output each property seems to be listed multiple times (two only once)
several properties are listed four times, some three, some five. I cannot
spot a pattern as to why this would be so. I have set up the relationships (I
think) so that the database "understands" the interelationship, each table
only has one instance of each property.
What am I doing wrong? Any advice will be welcomed!
Kind Regards,
Russell.
I run a small property rental company. I have a database that contains
several tables. The main table has Tenant Information (primary key, first
name, last name, property, move in date, move out date, rent account number),
another table called Addresses, surprisingly, holds the full address of each
property, where the property name is the primary key and finally a table
called Bank Details and this holds the account number, bank sort code and
propery name, again this is the primary key.
I would like to produce a report that allows me to print the name of the
property, its full address and all of the bank details associated with that
property. This is just a test for me to learn how to make this work for more
useful tasks with the "main" table.
I opened the New Query Wizard and selected the two tables (addresses and
Bank Details) and identified which fields I wanted to be shown. When I look
at the output each property seems to be listed multiple times (two only once)
several properties are listed four times, some three, some five. I cannot
spot a pattern as to why this would be so. I have set up the relationships (I
think) so that the database "understands" the interelationship, each table
only has one instance of each property.
What am I doing wrong? Any advice will be welcomed!
Kind Regards,
Russell.