Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need CR & LF in Report Text Box? (A2k (9.0.3821) SR-1 )

    Need CR & LF in Report Text Box?

    A2k (9.0.3821) SR-1

    I have the following code in detail event of report.

    All the information is printing, however I

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Need CR & LF in Report Text Box? (A2k (9.0.3821) SR-1 )

    Have you tried vbCrLf instead of the separate constants? If that doesn't work, you can also try Chr(13) & Chr(10).
    Charlotte

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need CR & LF in Report Text Box? (A2k (9.0.3821) SR-1 )

    Hi Charlotte

    After looking at your post I switched vbLf & vbCr to vbCr & vbLf and it worked.

    vbCrLf and Chr(13) & Chr(10) also worked.

    Looks like in a report text box the cr must come bbefore the lf.

    Thanks, John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •