how do your go to the next line in a textbox?

kato68

Registered User.
Local time
Today, 12:36
Joined
May 12, 2003
Messages
45
Say my control for a textbox is :

= "Title" & Date()

How do I get it to show up on 2 lines, is there a 'next line' keyword?

I want my output to look like this:
Title
Date

(I know this would be really simple if I just made 2 separate boxes, lable and text, but my control is actually more complicated than I have it here.
 
You can use the VbNewLine Constant.
Code:
 = "Title" & VbNewLine & Date()

HTH,
Patrick
 
When I do that it outputs Name?

I tried vbcrlf also.
 
= "Title" & Chr(13) & Chr(10) & Date() sometimes does not work if database is located in SHARE DIRECTORY in Network..., but
vbCrlf - always!!!
 
I tried vbcrlf, but that didnt work.
I did get "Chr(13) & Chr(10)" to work.
I didn't test it in the shared directory yet, though.
 

Users who are viewing this thread

Back
Top Bottom