ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP 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 April 10th, 2000, 09:39 AM
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
Can someone help asap, i have an asp script that when entering an apostrophe in a comments box, I ge

<i><b>Originally posted by : Jason (jroscoe@riteaid.com)</b></i><br />When entering an apostrphe in a comments box on a form, it get the following error: Microsoft OLE DB provider for ODBC drivers error '80004005'<br />ORA-01756: quoted string not properly terminated. can someone help asap, it's kind of urgent! Thanks<br />

Reply With Quote
  #2  
Old April 11th, 2000, 03:27 AM
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 : antony (antovelan@usa.net)</b></i><br />thats very simple, before inserting into sQL statement replace u'r single quote by double quote by using following function<br /><br />function doublequote(sqlp)<br />doublequote=replace(sqlp,"'","''")<br />end function<br /><br />now change u'r program sligtly<br /><br />-------------------------<br />changed program by antony<br />-------------------------<br />change var1,var2,var3 into<br /><br /><br />var1=doublequote(request.....)<br />var2=doublequote(request.....)<br />like etc...<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Can someone help asap, i have an asp script that when entering an apostrophe in a comments box, I ge


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 4 hosted by Hostway
Stay green...Green IT