SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 31st, 2000, 01:23 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Updating with formatted SQL

<i><b>Originally posted by : Simon (simonhewitt2000@hotmail.com)</b></i><br /><br />I run a small site with news posts that my members can add to, I am trying to implement an update feature, I have created a form which I populate with the news record required.<br /><br />But the text field that holds the news article needs to be able to contain any characters, how can I do this when I pull it from a <text area>?<br /><br />at the moment my SQL looks like this below (with the error I am getting) can you help?<br /><br />UPDATE newsfile SET newsid = '13', newstitle = 'Hello', newsbody = 'Lo everyone, Morg here. Soon as I find a chance to bug Mute a bit more, that piccy of the week should be changing (got a funny one of a pyro, lol). Btw, in case anyone is wondering, we don't have any more BWTFCL matches (bar the one this thursday) until early november - the reason for this is that alot of clans have dropped out of Div3, and just coincidentally, many of those dropouts were the clans we were schedueled to play in the near future. So hopefully Twinner will get us a couple of friendlies - there is one on the 26th for sure against Freakred's clan.', umail = 'pk1@iol.ie', uname = 'Morgoth', date = '31/10/2000 ',time = '5:13:56 PM' WHERE newstitle='Hello' <br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''Lo everyone, Morg here. Soon as I find a chance to bug Mute a bit more, that piccy of the week should be changing (got a funny one of a pyro, lol). Btw, in case anyone is wondering, we don't have any more BWTFCL matches (bar the one this thursday) until '. <br /><br />/updates/update2.asp, line 33 <br />

Reply With Quote
  #2  
Old November 9th, 2000, 08:24 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Despondent</b></i><br /><br />Simon,<br /><br />I just posted a similar question on the ASP board today under "despondent"....yes that's how I feel too. The funny thing is that the error does not occur for all records. The interesting thing is that after retrieving the record (that may cause the error) you can sometimes modify the text and the update will take place without any errors. Anyway, just thought I would mention my post in case no one responds to this one.<br /><br />Good luck!<br /><br />------------<br />Simon at 10/31/2000 11:23:42 AM<br /><br /><br />I run a small site with news posts that my members can add to, I am trying to implement an update feature, I have created a form which I populate with the news record required.<br /><br />But the text field that holds the news article needs to be able to contain any characters, how can I do this when I pull it from a <text area>?<br /><br />at the moment my SQL looks like this below (with the error I am getting) can you help?<br /><br />UPDATE newsfile SET newsid = '13', newstitle = 'Hello', newsbody = 'Lo everyone, Morg here. Soon as I find a chance to bug Mute a bit more, that piccy of the week should be changing (got a funny one of a pyro, lol). Btw, in case anyone is wondering, we don't have any more BWTFCL matches (bar the one this thursday) until early november - the reason for this is that alot of clans have dropped out of Div3, and just coincidentally, many of those dropouts were the clans we were schedueled to play in the near future. So hopefully Twinner will get us a couple of friendlies - there is one on the 26th for sure against Freakred's clan.', umail = 'pk1@iol.ie', uname = 'Morgoth', date = '31/10/2000 ',time = '5:13:56 PM' WHERE newstitle='Hello' <br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''Lo everyone, Morg here. Soon as I find a chance to bug Mute a bit more, that piccy of the week should be changing (got a funny one of a pyro, lol). Btw, in case anyone is wondering, we don't have any more BWTFCL matches (bar the one this thursday) until '. <br /><br />/updates/update2.asp, line 33 <br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Updating with formatted SQL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway