handsrfull
Technical User
I am trying to concatenate multiple fields into one based on criteria. I have no idea as to whether it is possible to do this in VBA or SQL or both.
I have a table with:
ItemNo as one field
Tool1 as another field
Tool2 as another field
Tool3 as another field
Tool4 as another field
I want to have the concatenate show up something like this:
ItemNo (Tool1), (Tool2), (Tool3), (Tool4)
However, if any of those fields are Null then, I DO NOT want to show them as:
ItemNo (), (Tool2), (Tool3), (Tool4)
I would rather show them as:
ItemNo (Tool2), (Tool3), (Tool4)
Any insight would be helpful.
I have a table with:
ItemNo as one field
Tool1 as another field
Tool2 as another field
Tool3 as another field
Tool4 as another field
I want to have the concatenate show up something like this:
ItemNo (Tool1), (Tool2), (Tool3), (Tool4)
However, if any of those fields are Null then, I DO NOT want to show them as:
ItemNo (), (Tool2), (Tool3), (Tool4)
I would rather show them as:
ItemNo (Tool2), (Tool3), (Tool4)
Any insight would be helpful.