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!

VbCrLF 1

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
I have a text box and use vbCrLF to insert a blank line. It does not work instead it iserts two this black lines a bit like ||. Here is the code, any ideas


While Not rsResults.EOF
txtResults = txtResults & vbCrLf & IIf(IsNull(rsResults("ID")), "", rsResults("ID")) _
& IIf(IsNull(rsResults("DocID")), "", rsResults("DocID")) _
& IIf(IsNull(rsResults("Description")), "", rsResults("Description")) _
& IIf(IsNull(rsResults("DiaryDate")), "", rsResults("DiaryDate")) _
& IIf(IsNull(rsResults("Status")), "", rsResults("Status")) _
& IIf(IsNull(rsResults("CloseDate")), "", rsResults("CloseDate")) _
& IIf(IsNull(rsResults("TS")), "", rsResults("TS")) & vbCrLf
rsResults.MoveNext
Wend
 
Hi,

Have you set the MultiLine property of the textbox to 'true'?

Sunaj
 
What font are you using to display it with?

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top