S
scott
I have a memo-type textbox control on a form. On the form's OnOpen event,
I'm trying insert a few lines of text.
I'm having trouble forcing a new line after the 1st line is inserted. Is
there maybe an ASCII code that I could use inplace of the "vbCrlf", which is
not forcing a new line?
With my current code below, Access is only inserting the 1st line and
chopping off my 2nd line of text. I can manually force a new line when
typing by hitting Control Key + Enter, but so far, i've had no success doing
it with VBA.
CODE ***********************
Me.myMemoField= "1st Line: Text on line 1" & vbCrLf & _
"2nd Line: Text on line 2"
I'm trying insert a few lines of text.
I'm having trouble forcing a new line after the 1st line is inserted. Is
there maybe an ASCII code that I could use inplace of the "vbCrlf", which is
not forcing a new line?
With my current code below, Access is only inserting the 1st line and
chopping off my 2nd line of text. I can manually force a new line when
typing by hitting Control Key + Enter, but so far, i've had no success doing
it with VBA.
CODE ***********************
Me.myMemoField= "1st Line: Text on line 1" & vbCrLf & _
"2nd Line: Text on line 2"