Crosstab qry from union qry

TheBud

New member
Local time
Today, 14:15
Joined
Dec 6, 2005
Messages
4
I have a UNION qry in which I have Out, Incoming and internal invoices as RELATIONSHIPs, and based on it a CROSSTAB qry, and now there are 2 new categories which are goods that were returned - and there are 2 because:
1. is return from Internal and
2. is return from Outgoing invoices.
I need to calculate the current InStock (based on articalNumbers) with this in mind:
InStock = Incoming - OUTgoing - Internal + returnfromInternal + returnFromOutgoing

However, I cant seem to get a returns to the same crosstab qry in order to include them in calculation

the real names of variables are not important but the principle on which I should base my qry is the problem for me (please have in mind that I first started working in access about 2 months ago)
Is there anything wrong with the principle of my work here?
t i a...
 
Hi - welcome!

Can you post a (very) simplified version of your tables and query?

- g
 

Users who are viewing this thread

Back
Top Bottom