this is not the greatest and basically the path you are describing that my husband helped with ... again, not the greatest but it's the same thought in having some match back to the invoice.
basically
1. another field in the invoice table that has a combined list of the options
2. replace or another field in the ProgramCodes table also the with combined options, and go ahead and combine the set of the programming codes that goes with that set.
so now both will have, for instance:
ProgramCodes table could look something like this:
link this table back to the invoice table and the result would be exactly what I need.
not "normalized" though, but this gives you the match on OptionCombo for the "sets", which is the key.
and doing that, mine as well combine the programming codes here since I have to use the Concatenate() function to combine the values in the end anyways.
basically
1. another field in the invoice table that has a combined list of the options
2. replace or another field in the ProgramCodes table also the with combined options, and go ahead and combine the set of the programming codes that goes with that set.
so now both will have, for instance:
Code:
InvoiceNumber GuitarItem OptionCombo
1234567 AE185 <null> no options at all
2345678 AE185 38
3456789 AE185 BB
4567891 AE185 38 BB
Code:
GuitarItem Codes OptionCombo
AE185 185RR 186RHT 187RT <null>
AE185 185RR 186RHT 187RT38 38
AE185 185RR 186RHT 188RTB BB
AE185 185RR 186RHT 1838RT38B 38 BB
link this table back to the invoice table and the result would be exactly what I need.
not "normalized" though, but this gives you the match on OptionCombo for the "sets", which is the key.
and doing that, mine as well combine the programming codes here since I have to use the Concatenate() function to combine the values in the end anyways.