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 > Database Server Software > Other > error on update sql for asp. please help.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-03, 03:53
lunas lunas is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
error on update sql for asp. please help.

sqlString = "UPDATE assessor SET " &_
"assessorName='" & fixQuotes( fname ) & "', " &_
"email='" & fixQuotes( email ) & "', " &_
"role='" & fixQuotes( role ) & "', " &_
"password='" & fixQuotes( password ) & "' " &_
"WHERE userid=" &session("assessorUserid")

above is query it shows this error.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/hope/form/updateassessorform2.asp, line 133
Reply With Quote
  #2 (permalink)  
Old 09-20-03, 16:28
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
do a response.write on your sql string and see what parameters are being passed into it.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On