iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Databases

Reply
 
LinkBack Thread Tools
Old June 16th, 2006, 08:35 AM   #1
Reputable Member
 

Join Date: Jun 2006
Location: uk
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 abrewitt is on a distinguished road
Smile SQL error any help really appreciated!

I have a SQL error I cannot see and was wondering if u can see it?;

Code:
' build the SQL UPDATE "command string"
strCmdTxtMem="UPDATE link SET link_text='" & request("linkText") & "',"
strCmdTxtMem=strCmdTxtMem & " link_url='" & request("linkUrl") & "',"
strCmdTxtMem=strCmdTxtMem & " link_title='" & request("linkTitle") & "',"
strCmdTxtMem=strCmdTxtMem & " WHERE link_id=" & request("linkId")
I outptted the sql and get this error message;

UPDATE link SET link_text='Blue Anvil', link_url='http://www.blue-anvil.com/', link_title='go to blue anvil design', WHERE link_id=4
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/editmember_process_basic.asp, line 31


i really appreciate any help, Anthony
abrewitt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 16th, 2006, 08:50 AM   #2
Rob
Elite Veteran
SuperMember
 
Rob's Avatar
 

Join Date: Jul 2003
Location: Southern UK
Age: 35
Posts: 3,133
Blog Entries: 7
Thanks: 28
Thanked 22 Times in 19 Posts
Rep Altering Power: 0 Rob is a jewel in the rough Rob is a jewel in the rough Rob is a jewel in the rough
Re: SQL error any help really appreciated!

remove the comma before the WHERE Clause
__________________
Rob - Webforumz Founder
Web Designer Support Network || Personal Project: Sanctuary for Student Midwives
Rob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old June 16th, 2006, 08:57 AM   #3
Reputable Member
 

Join Date: Jun 2006
Location: uk
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 abrewitt is on a distinguished road
Re: SQL error any help really appreciated!

Thats great Rob! thanks!

you can never see ur own!
abrewitt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
sql , error , help , appreciated


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO tips appreciated ! alexgeek Search Engine Optimization (SEO) 9 July 8th, 2008 08:32 PM
friendly criticism would be much appreciated :D bonnit Full Website Reviews 2 April 10th, 2008 07:46 AM
Any help or guidence appreciated tiedtothewind Your Design and Layout 4 February 7th, 2007 02:59 PM
another sql error any help appreciated abrewitt Databases 2 June 21st, 2006 06:29 AM


Search Engine Optimization by vBSEO 3.2.0 RC8