Pam:
 
sString = Replace(sString, "'", "''")
 
sString = Variable Name.  I prefix all variable names with one character
that signifies the type.  s = String:  i = Integer, d = Decimal, b =
Boolean, etc.
 
Replace is the method / function that is called and the values passed in.  
 
I hope this helps to explain what is happening.  
 
Andy


  _____  

>
> Pam:
>
> You should always get an error.  Curious that you don't (unless for some
> reason:  the string has two quotes).
>
Very likely since the are small articles that may well have quoted material
included.


> Anyway:  prior to entering the data into the database:  you should do a
> replace on the string.
>
> sString = Replace(sString,"'","''")
>

I'm still sort of like in (upper) elementary school as far as asp goes.
Could you help me understand what we are doing with sString?

Thanks,
Pam



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h8cgfis/M=362335.6886445.7839731.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1124804893/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to