I have a form with six text boxes that users can type label information into. The text boxes are unbound. I push that data to a .txt file that is used by a label application to print labels.
If the user only types in label1, the .txt file has blank lines for labels2, 3, 4, 5 and six which causes the label software to print some junk.
Is there a way for me to set the variables that have no data in them to null, even if they're unbound text boxes.
Thanks.
Open DestinationFolder & "SeparatorLabels.txt" For Output As #1
Print #1, Label1
Print #1, Label2
Print #1, Label3
Print #1, Label4
Print #1, Label5
Print #1, Label6
Close #1
If the user only types in label1, the .txt file has blank lines for labels2, 3, 4, 5 and six which causes the label software to print some junk.
Is there a way for me to set the variables that have no data in them to null, even if they're unbound text boxes.
Thanks.
Open DestinationFolder & "SeparatorLabels.txt" For Output As #1
Print #1, Label1
Print #1, Label2
Print #1, Label3
Print #1, Label4
Print #1, Label5
Print #1, Label6
Close #1