jenfromjax
Technical User
I apologize if this has been addressed somewhere in this forum, but I haven't had luck searching keywords or FAQs.
I have been asked to create a report that will show all our clients & which of our products they subscribe to. And if they do not use our product for a particular category, then print the name of the 3rd party vendor they use. I was asked to format this like an Excel spreadsheet, all info confined to one line per client. All of the client names are in one field in Table-A, all of the possible products are in one field in Table-B, the 3rd party info (if any) are in another field in Table-B. They want ALL clients to appear, regardless of the number of products they use (left outter join?). Here's an idea of how they want to it magically appear:
Name Software Hardware Other
ABC,Inc "Us" "Them (Null-no info on file)
XYZ,Inc "Them" (Null) "Us"
Or
Name Software Hardware Other
Cust.Name regir.prod_id regir.prod_id regir.prod_id
I created a formula that I hoped would work for the product columns (3rd party vendor = regir.field1)
If {regir.prod_id} = "TL" then "Us" else
If {regir.prod_id} = "TELLER" then {regir.field1}
I get a lot of duplicate rows, clients who don't show up because they don't have the product named in the formula, etc. I have tried different joins, conditional formatting to fix the dupe problem, alias tables, select criteria, just about anything you can imagine.
I know this probably isn't very clear... I have been starring at this God foresaken report for weeks so I am not thinking straight right now. Please let me know if you have any ideas or need additional info.
Thank you!!!
Jen
I have been asked to create a report that will show all our clients & which of our products they subscribe to. And if they do not use our product for a particular category, then print the name of the 3rd party vendor they use. I was asked to format this like an Excel spreadsheet, all info confined to one line per client. All of the client names are in one field in Table-A, all of the possible products are in one field in Table-B, the 3rd party info (if any) are in another field in Table-B. They want ALL clients to appear, regardless of the number of products they use (left outter join?). Here's an idea of how they want to it magically appear:
Name Software Hardware Other
ABC,Inc "Us" "Them (Null-no info on file)
XYZ,Inc "Them" (Null) "Us"
Or
Name Software Hardware Other
Cust.Name regir.prod_id regir.prod_id regir.prod_id
I created a formula that I hoped would work for the product columns (3rd party vendor = regir.field1)
If {regir.prod_id} = "TL" then "Us" else
If {regir.prod_id} = "TELLER" then {regir.field1}
I get a lot of duplicate rows, clients who don't show up because they don't have the product named in the formula, etc. I have tried different joins, conditional formatting to fix the dupe problem, alias tables, select criteria, just about anything you can imagine.
I know this probably isn't very clear... I have been starring at this God foresaken report for weeks so I am not thinking straight right now. Please let me know if you have any ideas or need additional info.
Thank you!!!
Jen