Connecting Tech Pros Worldwide Help | Site Map

Simple Marina/Customs Declaration Database

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 09:56 PM
Lloyd Stevens
Guest
 
Posts: n/a
Default Simple Marina/Customs Declaration Database

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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.