Hi,
I'm populating a text box via code, pulling various fields from a table and displaying them in a textbox.
example:
textbox:
I have set the enter key behaviour in the textbox to 'New Line' and when I write data into the text box, I have tried seperating the fields with vbcr, but this just gives me a little square box, and then the data carries on on the same line.
Can anyone help with getting line breaks into a textbox when populating the textbox via vba?
I'm populating a text box via code, pulling various fields from a table and displaying them in a textbox.
example:
textbox:
field1:
this field contains some data
field2:
This field also contains some data
field3:
This field contains lots of data, and will easilly spread over 4 or 5 lines in the textbox.
I have set the enter key behaviour in the textbox to 'New Line' and when I write data into the text box, I have tried seperating the fields with vbcr, but this just gives me a little square box, and then the data carries on on the same line.
Can anyone help with getting line breaks into a textbox when populating the textbox via vba?