I have a fairly complex (to me) situation that I am trying to iron out. I have, in Excel, a manually created table. The first column contains a Customer ID (CUSTID) unique to each customer, which corresponds to the same field in a large Access database. The second column is the Customer Name (which isn't as important). The third through upwards of 300 columns are titled by vendor, and in each row, a dollar amount exists. Some rows do not have corresponding dollar amounts for every vendor. I have two charts like this, each with different vendors across the top. No customer appears on both charts.
Inside the Access database, I have a table called "Customer Data" which basically has a CUSTID field, customer name, and much more about each customer. What I want to do is create a relationship where I can click on each customer, and expand a list of their vendor amounts below. I don't want the blank ones shown, only the ones with values. Currently, I have a relationship set up between the CUSTID in the Customer data chart with the CUSTID in another informational chart, and then that CUSTID in a relationship with another chart. So, I can basically expand two sub-sheets below each record in my original chart.
My end result should be this: I want to be able to expand each record in my initial chart, and have the first column be Vendor Name, and the second column be Vendor Amount. Blanks need not appear.
Since I have over 255 columns in my Excel chart, I know I need to split it into two Access tables. This shouldn't be an issue so long as I can still have two lookups.
Thoughts? Any help, even getting pointed in the right direction, would be greatly appreciated. If this can be accomplished by a query, that should work OK as well.