CustomerTable CustomerTarrifTable TarrifTable WarrantTable
*CustomerID CustomerID ProductName *WarrantID
BoatType *CustomerTarrifID TarrifRate WarrantDate
CustomerName TarrifNo *TarrifNo TarrifNo
QuantitySold quantityPurchas
CIF CIF
Relationships
CustomerTable to CustomerTarrifTable = onetomany
TarrifTable to CustomerTarrifTable = onetomany
TarrifTable to WarrantTable = onetomany
I have set up the previously shown four tables and relationships in a
database for a boat marina to declare what they have bought and sold
to customs. Each product has a unique number called a tarrifNo. And
each time a product is bought from a supplier it is called a warrant
which is entered during the year. At the end of the year the purchases
made by a customer is entered into the database. CIF is a number which
varies for product and is a calculation on price quantity and various
other factors set by cusotoms.
I want to be able to produce a report that outputs all the products
ordered by there tarrifno and then underneath have the warrants made
during the year and then the details of the sellings to the customers
I assume this is done by a query that outputs the relevant details,
and the totals required be done in a report. So I need to produce a
query that outputs all the details in the database. I have tried to do
this using the design view in access but am not achieving the desired
results as I am getting the customertable and customertarriftable
details repeated for each warrant which I do not want. i.e I am
getting the boats purchase repeated. I think it requires an SQL query
but I have little knowledge of SQL and am struggling.
Can anyone offer me any help??
Regards
lloyd