Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Line in Textbox at Runtime

Status
Not open for further replies.

DeanWilliams

Programmer
Feb 26, 2003
236
GB
Hi,

How can you put a new line/carriage return in a textbox on a report at runtime?

If I have a calculated control or one that I want to set at runtime, it always comes out as that square symbol instead of a new line.

Dean :)
 
In code, you can use for instance the vbCrLf or vbNewLine constants, in a controlsource, conncateneate with: ... & chr(13) & chr(10) & ... i e both carriage return and linefeed.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top