H
Harry Bo
Hi all,
I posted earlier on a query that was doubling up the values and it was suggested that the query was somehow linked.
So I'm going back to basics and trying to really understand this relationship:
I have a table of transcations.....freight invoices
main fields are:
From Suburb - To Suburb - items - kilos - charge
As most freight suppliers put the delivery suburb on the invoice, but chatge by a direct port, I have set up a postcode table also which lists :
Suburb - Postcode - Direct Port
The data entry person doesn't usually know the direct port associated with the suburb, so I've attempted to set up a query that looks up the suburb and returns the direct to and from ports with the sum of items, kilos and charge.
This doesn't seem to adding in the items, kilos and charges fields.
So my questions are:
In the transaction table - what field should the PK be?
What relationship should I set up between the "From Suburb" & "To Suburb" [TblTranscations] and my [TblPostcode]?
I've spent weeks on this and if I got paid to do this I'd be a millionairre!
Thanks, hope I've explained this ok.
Harry
I posted earlier on a query that was doubling up the values and it was suggested that the query was somehow linked.
So I'm going back to basics and trying to really understand this relationship:
I have a table of transcations.....freight invoices
main fields are:
From Suburb - To Suburb - items - kilos - charge
As most freight suppliers put the delivery suburb on the invoice, but chatge by a direct port, I have set up a postcode table also which lists :
Suburb - Postcode - Direct Port
The data entry person doesn't usually know the direct port associated with the suburb, so I've attempted to set up a query that looks up the suburb and returns the direct to and from ports with the sum of items, kilos and charge.
This doesn't seem to adding in the items, kilos and charges fields.
So my questions are:
In the transaction table - what field should the PK be?
What relationship should I set up between the "From Suburb" & "To Suburb" [TblTranscations] and my [TblPostcode]?
I've spent weeks on this and if I got paid to do this I'd be a millionairre!
Thanks, hope I've explained this ok.
Harry