G
GD
I have a table that consists of credit memos (Field 1) and their original
invoices (Fields 2-41, if any). The trick is that there could be anywhere
from 0 to 40 fields of original invoices. Is there an expression that would:
1) Return an invoice number if all non-blank fields match each other
exactly, and
2) Return no result (i.e. blank) if any of the them differ from any of the
others?
Example:
Results Wanted CM_No OrigInv1 OrigInv2 OrigInv3 OrigInv4
CM004268 ED629227 ED629227 ED062399 ED062399
EF587543 CM006417 EF587543 EF587543 EF587543 EF587543
Thanks!
invoices (Fields 2-41, if any). The trick is that there could be anywhere
from 0 to 40 fields of original invoices. Is there an expression that would:
1) Return an invoice number if all non-blank fields match each other
exactly, and
2) Return no result (i.e. blank) if any of the them differ from any of the
others?
Example:
Results Wanted CM_No OrigInv1 OrigInv2 OrigInv3 OrigInv4
CM004268 ED629227 ED629227 ED062399 ED062399
EF587543 CM006417 EF587543 EF587543 EF587543 EF587543
Thanks!