Results 1 to 4 of 4

Thread: [RESOLVED] Textbox string

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] Textbox string

    The original is
    Code:
    .Expression = """AYAM"""
    the output is AYAM. This ok. Then I change to used textbox

    I want to get the input value from textbox..I used textbox.


    It should be AYAM because I input this text in my textbox5.

    But my output is & TextBox5.Text & . I got my textbox name. Why could be like this? What wrong with my code below?
    Code:
    .Expression = """ & TextBox5.Text & """

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Textbox string

    Code:
    .Expression = """" & TextBox5.Text & """"

  3. #3
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: Textbox string

    The logic is: dual quotes within quotes are accounted as a single quote.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Textbox string

    Thank you so much both of you. this solved my problem..

Posting Permissions

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



Click Here to Expand Forum to Full Width