Textbox --> Multiline=True

06-02-2005, 12:21 AM
Here I have a very tricky challenge I hope someone can help me with.......

I have a textbox in a form with multiline=true properties.
This textbox is connected to Access database and I can save up to 255 charater in this fields.
Witdh-properties of the textbox is 60 character, so if the input is more that 60,120,180,240 character it will be automaticly "distributed" into several lines (same as in Microsoft Word etc.).
How can I come around with this problem when I want to print this text on my printer. If the user don't have used Enter-button for new line when inputing the text, I get only the first part of the text and no linefeed on the print out.
I want the print to be the same as how it is visible in the textbox.

Hope someone have any good ide how I can solve this.

06-02-2005, 12:28 AM
You chould add a VbCrLf every 60 characters

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum