0

link two tables, two fields must be identic

Hi,

I have a problem and have already tried many different things and formulas, but failed.
Hope, anyone can help me. I will try to explain what I need, but my English is not the best ;) I do even have problems explaining this in German ;) :?

So, I need rows of
"Purch. Rcpt. Line": "Posting Date" "01012011..31122011" ___ "Location Code" "WER*" ___ "Type" "Artikel"
That's no Problem ;)

But I only want those rows in which the fields "Order No." and "Order Line No." are identically with the rows in the table "Purch. Inv. Line" with "Posting Date" 01012011..16.02.2012 or ''

Should be like this:

Purch. Rcpt. Line ____________________________________________________________Purch. Inv. Line
No.___Order No._____Order Line No.____Posting Date____Location Code____Type_____No.______Order No.___Order Line No._____Posting Date
121___77100________100______________04.11.11_______WER1___________Artikel____E456_____77100______100_______________25.01.12
129___77111________100______________05.11.11_______WER1___________Artikel____E321_____77111______100_______________08.11.11
129___77111________200______________05.11.11_______WER1___________Artikel____________________________________________________________ (empty, because the article hasn't been invoiced yet)
129___77111________300______________05.11.11_______WER1___________Artikel____E340_____77111______300_______________09.11.11

Thanks a lot!! :)

4 comments

Please sign in to leave a comment.