Hey All,
I'm currently starting to work on a report that show sales and buys from articles.
For my base i have 4 diferent DB's
1 with all the article's
2 i need to use to see how much of every article we bought
1 i need to see how much we sold
i want to know how much we bought and sold in a time frame
the link between the db's are like the following
DB1: Articles DB2: recregel DB3: receptie
a_a_volgnr -> r_volgnr
a_omschr r_document -> R_document
(r_aantal) (r_date)
-> DB4: h_volgnr
(h_date)
(h_aantal)
Everything starts for my articles DB (DB1)
The stuff between the () is the field info i need to see.
I need the DB2 becouse my date when we bought stuff is only availeble in DB3 not in the second
a date can also be found in DB4
Now when i try to build this up i keep getting LOTS of results but i know i only have 200 artikles i want to check
I keep getting arround 26k results .... :( and he gives me a lot of articles 2-3-10-.. times
I can see how it comes but i have no clue what to do about it
My last resort would be working with 2 subreports as i know that will work but i'm still trying to make it all in one...
End result should be somthing like this
start date: 01-01-2009
End date: 30-01-2009
Article discription bought sold
305406 Hard drive 500 GB 10 8
706304 Sound card V4 2 9
a_volgnr a_omschr r_aantal h_aantal
Any idee's on this ?
Tnx in advance !!!