View Single Post
  #3 (permalink)  
Old May 13th, 2006, 17:08
squashed_Frog squashed_Frog is offline
New Member
Join Date: May 2006
Location: UK
Age: 24
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ASP/SQL programming help

Hey! cheers for the advice...however it doesn't seem to be working, all three fields (SID, CID and GRADE) are numeric fields so i changed my query to;

sql="UPDATE STUDENTCOURSE SET"
sql=sql & "SID='" & Request.Form(SID) & "',"
sql=sql & "CID='" & Request.Form(CID) & "',"
sql=sql & "GRADE='" & Request.Form(GRADE) & "'"
sql=sql & "WHERE GRADE='" & grade & "'"

It still doesn't seem to be working am i'm still getting the "no update permissions" string displayed when i try to submit the query!

Sorry to be a pain i'm really lacking in my SQL knowledge!! ...do u think it could be something else???

Ur help is MUCH appreciated! cheers!
Reply With Quote