Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    35

    Unanswered: new line or carriage return help

    Im not familiar with VB, and all I want to do right now is create a new line (carriage return) within a string.

    here's a little snippet of the code:
    f("text" & i) = rs!InputText & rs!InputID

    I want InputText and InputID on two different lines.

    Can I do this?

    Thank you in advance

    Josh
    "My Idea is that everyone should be required to use small fonts. That way we'll save disk space.
    ~Asok.

  2. #2
    Join Date
    Dec 2001
    Posts
    79
    Try this:

    f("text" & i) = rs!InputText & vbCrLf & rs!InputID

    Hope this helps,
    Peter De Baets
    Peter's Software - Microsoft Access Tools for Developers
    http://www.peterssoftware.com

  3. #3
    Join Date
    Jan 2003
    Posts
    35

    Wink

    Thats perfect exactly what I needed. Thank YOu
    "My Idea is that everyone should be required to use small fonts. That way we'll save disk space.
    ~Asok.

Posting Permissions

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