Results 1 to 3 of 3

Thread: Syntax? ( )

  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Syntax? ( )

    Dear All,

    I

  2. #2
    Star Lounger
    Join Date
    Feb 2001
    Location
    UK
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Syntax? ( )

    Try putting single quotes into the SQL string round the string variable, as follows:
    <pre>SET tbl_Login.LastLocation = '" & StrTest & "'"</pre>

    instead of:

    SET tbl_Login.LastLocation = " & StrTest

    Hope you can see where the quotes are!

    Edited by Charlotte to add [ pre] tags

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Syntax? ( )

    Dear Lubo,

    That

Posting Permissions

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