I have a form with 5 check boxes and a command button. When I click the command button I want it to determine what check boxes are clicked and add the captions together in a string.
chkbox1.caption "Hand Solder"
chkbox2.caption "Mini Wave"
chkbox3.caption "X-Ray"
chkbox4.caption "Connector Replacement"
chkbox5.caption "Heat Gun"
So if I have a variable strprocess and I click the command button I want it to determine which of the above is checked (lets say chkbox1 and chkbox2) and make strprocess = chkbox1.caption & chkbox2.caption with a comma in between (Hand Solder, Miniwave). Any ideas/thoughts? Thanks for looking.
chkbox1.caption "Hand Solder"
chkbox2.caption "Mini Wave"
chkbox3.caption "X-Ray"
chkbox4.caption "Connector Replacement"
chkbox5.caption "Heat Gun"
So if I have a variable strprocess and I click the command button I want it to determine which of the above is checked (lets say chkbox1 and chkbox2) and make strprocess = chkbox1.caption & chkbox2.caption with a comma in between (Hand Solder, Miniwave). Any ideas/thoughts? Thanks for looking.