Results 1 to 4 of 4

Thread: Please help, release date 5:00 tonight!!!!!

  1. #1
    Guest

    Angry


    Noddy problem - I'm getting data back from a VB object to an ASP. The data is along the lines of 'Midland Bank'.

    When I attempt to populate a text box with this information (ie, if my ASP variable is called 'strBankName', I set the textbox value=<%=strBankName%>) but I only get 'Midland'. It seems to be truncating at the first space.

    What the hell is going on?

    Please help, release date 5:00 tonight!!!!!


  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Hi jim

    use the following

    <INPUT type="text name="mytext" value="<%=strBankName%>">

    you need the speach marks if the value is more than one word

    hope this helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Guest

    Hot damn

    Hot damn - that worked a treat.

    Thanks for that matey - it looks like we'll make 5:00 after all!

  4. #4
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    no worries. A good bit of advice is to put any element value in a tag, withing speach marks
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

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