Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Connecting Strings

Discussion in 'Information Technology' started by Tom, Jul 28, 2006.

  1. Tom

    Tom
    Expand Collapse
    Guest

    Hi All,

    How can I connect 2 line of strings, so my massage box will have lines.

    i.e Data is missing!
    check your entry



    Thanks A lot,

    Tom
     
  2. Loading...

    Similar Threads Forum Date
    Need Help - Connecting with the Guru... Questions and Answers Mar 19, 2013
    Buddhism The Zen Brain: Connecting Meditation and Neuroscience Interfaith Dialogues Sep 19, 2011
    Sufism Sufism: Connecting Mankind Interfaith Dialogues Feb 16, 2011
    SikhRI Connecting with the Divine Light Sikh Organisations Jul 23, 2009
    Connecting The Dots In History Essays on Sikhism Mar 21, 2009

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Tom wrote:
    > Hi All,
    >
    > How can I connect 2 line of strings, so my massage box will have
    > lines.
    > i.e Data is missing!
    > check your entry


    MsgBox "Data is Missing" & vbCrLf & "check your entry"

    Actually in the specific case of a MsgBox you don't need both a Carriage Return
    and a Line-Feed so these would also work...

    MsgBox "Data is Missing" & vbCr & "check your entry"
    MsgBox "Data is Missing" & vbLf & "check your entry"

    ....but when doing similar things in other contexts you do need both so I tend to
    always use vbCrLf. It will not cause two lines in a MsgBox so is harmless.


    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     
  4. Tom

    Tom
    Expand Collapse
    Guest

    Thank you Rick, working good
    "Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
    news:9yG9g.5982$fb2.3996@newssvr27.news.prodigy.net...
    > Tom wrote:
    >> Hi All,
    >>
    >> How can I connect 2 line of strings, so my massage box will have
    >> lines.
    >> i.e Data is missing!
    >> check your entry

    >
    > MsgBox "Data is Missing" & vbCrLf & "check your entry"
    >
    > Actually in the specific case of a MsgBox you don't need both a Carriage
    > Return and a Line-Feed so these would also work...
    >
    > MsgBox "Data is Missing" & vbCr & "check your entry"
    > MsgBox "Data is Missing" & vbLf & "check your entry"
    >
    > ...but when doing similar things in other contexts you do need both so I
    > tend to always use vbCrLf. It will not cause two lines in a MsgBox so is
    > harmless.
    >
    >
    > --
    > Rick Brandt, Microsoft Access MVP
    > Email (as appropriate) to...
    > RBrandt at Hunter dot com
    >
     

Share This Page