| | |
Duplicating Ranking System
Please support our ASP advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jun 2009
Posts: 1
Reputation:
Solved Threads: 0
I have been struggling over this for about a week now. I am trying to duplicate a ranking system for a client so that it can be accessed privately and players can have a different rating from publicly. I have added new field to encompass my new information. Everything works out fine until I want to UPDATE the information and I then get this error:
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/administration/scouting_update_ranktestpriv.asp, line 30
When I go to look at this line this is the written code
Can anyone please help me identify my problem. I think it is simple but I cannot figure it out
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/administration/scouting_update_ranktestpriv.asp, line 30
When I go to look at this line this is the written code
elseIf msrankpriv <> "0" Then
sSQL = "UPDATE memberSports SET msrankpriv = " & msrankpriv & " WHERE msMember = " & memberId
Line 30---->objConn.Execute sSQL
sSQL = "UPDATE memberSports SET mscheckspriv = " & mscheckspriv & " WHERE msMember = " & memberIdCan anyone please help me identify my problem. I think it is simple but I cannot figure it out
•
•
Join Date: Jun 2009
Posts: 18
Reputation:
Solved Threads: 1
•
•
•
•
elseIf msrankpriv <> "0" Then sSQL = "UPDATE memberSports SET msrankpriv = " & msrankpriv & " WHERE msMember = " & memberId Line 30---->objConn.Execute sSQL sSQL = "UPDATE memberSports SET mscheckspriv = " & mscheckspriv & " WHERE msMember = " & memberId
Try this:
ASP Syntax (Toggle Plain Text)
elseIf msrankpriv <> "0" Then sSQL = "UPDATE memberSports SET msrankpriv = '" & msrankpriv & "' WHERE msMember = '" & memberId & "'" objConn.Execute sSQL sSQL = "UPDATE memberSports SET mscheckspriv = '" & mscheckspriv & "' WHERE msMember = '" & memberId & "'"
Let me know if this works for you.
Hit any user to continue......
![]() |
Similar Threads
- website ranking (Search Engine Optimization)
- alexa ranking (Search Engine Optimization)
- Ranking Array Failure? (C)
- Forum Rank Problem (DaniWeb Community Feedback)
- Forum software? (Growing an Online Community)
- Daniweb User Titles (DaniWeb Community Feedback)
- Senior Techie Qualification (DaniWeb Community Feedback)
- Non-google rankings (Search Engine Optimization)
- what are good post-intervals for ranks (Growing an Online Community)
- Rank help (HTML and CSS)
Other Threads in the ASP Forum
- Previous Thread: Need help manager page
- Next Thread: Constructing an A href link in CDO
| Thread Tools | Search this Thread |
archive asp aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection





