If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Updating a field

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-03, 09:18
Bigced_21 Bigced_21 is offline
Registered User
 
Join Date: Dec 2002
Location: KY
Posts: 54
Exclamation 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") & ", "
---------------------------------^
Reply With Quote
  #2 (permalink)  
Old 03-06-03, 09:36
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Re: Updating a field

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

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

(Drop the spurious " before Request)
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On