melanie
A Walking Contradiction
- Local time
- Today, 06:57
- Joined
- Jun 6, 2003
- Messages
- 101
Hi all
Hoping there is a simple answer to this question:
Here goes:
I have a table called "container details" pk is "idnumber" and another which is linked to it called "pallet details".
So one container to many pallets.
The reports I generate is a pack list which shows all the entries for the pallet details and then another one which comes from a query which summarizes the pallet details -
eg. the pallet details are entered as follows:
pallet 1 apples red 150 cartons
pallet 2 apples red 150 cartons
pallet 3 apples green 150 cartons
pallet 4 apples red 150 cartons
pallet 5 apples green 150 cartons
the second report - the pack list summary report will show:
IDnumber so and so =
apples red 450 cartons
apples green 300 cartons
here comes the tricky bit:
I need to generate invoices on these summarised amount and the invoice price changes daily, also there are five different types of invoice to be generated with each container.
I have fiddled around with the append query, but don't seem to be having much luck with it - it keeps duplicating the records.
I have now made a table called "invoice details" which has as its primary keys:
idnumber
product
variety
size
but now the append query won't run due to key violations and I'm not sure if its the right way to go.
In the end I need the pack list summary from the query in order so that I can insert my invoice values against them.
Your help gratefully wanted.
Melanie
Hoping there is a simple answer to this question:
Here goes:
I have a table called "container details" pk is "idnumber" and another which is linked to it called "pallet details".
So one container to many pallets.
The reports I generate is a pack list which shows all the entries for the pallet details and then another one which comes from a query which summarizes the pallet details -
eg. the pallet details are entered as follows:
pallet 1 apples red 150 cartons
pallet 2 apples red 150 cartons
pallet 3 apples green 150 cartons
pallet 4 apples red 150 cartons
pallet 5 apples green 150 cartons
the second report - the pack list summary report will show:
IDnumber so and so =
apples red 450 cartons
apples green 300 cartons
here comes the tricky bit:
I need to generate invoices on these summarised amount and the invoice price changes daily, also there are five different types of invoice to be generated with each container.
I have fiddled around with the append query, but don't seem to be having much luck with it - it keeps duplicating the records.
I have now made a table called "invoice details" which has as its primary keys:
idnumber
product
variety
size
but now the append query won't run due to key violations and I'm not sure if its the right way to go.
In the end I need the pack list summary from the query in order so that I can insert my invoice values against them.
Your help gratefully wanted.
Melanie