Hi all,
I have 20 checkboxes and would like the checked to appear into a textbox like so: Adaptor, Welding Flange, Pipe and Hanger.
I have put this in my control source but it doesn't work the way I want it too.
=IIf([Checkbox1],"Adaptor") & IIf([Checkbox2],", Welding Flange") & IIf([Checkbox3],", Pipe")& IIf([Checkbox4],"and Hanger") and so on..........
Currently if checkbox1 is clear the text box will appear like so: ", Welding Flange, Pipe and Hanger" with a unwanted comma. Also I would like the last item in my text box to appear like so: "and Hanger"
Does anyone know of any VB or anything that might help?
Thank you,
Dilan