Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Location
    KY
    Posts
    56

    Exclamation Unanswered: Updating a field

    this is one of the fields in my table that I'm trying to update along with some Contact info, such as, name, address, city, etc.
    The State_ID is the only field in the tbl that has its own tbl that consist of states of the US.
    This is the error I'm getting
    This is being done in a Case "UPDATE"
    HELP PLEASE!!!!

    Microsoft VBScript compilation error '800a0401'

    Expected end of statement

    /boilers/Blr_inspector_process.asp, line 47

    strSQL = strSQL & "Request.Form("State_ID") & ", "
    ---------------------------------^

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: Updating a field

    Originally posted by Bigced_21
    strSQL = strSQL & "Request.Form("State_ID") & ", "
    ---------------------------------^
    Should be:

    strSQL = strSQL & Request.Form("State_ID") & ", "

    (Drop the spurious " before Request)

Posting Permissions

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