Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double Quotes in Variables
Message
 
To
09/09/2002 13:12:48
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00698389
Message ID:
00698486
Views:
14
Have you tried this:
rs.addnew
rs!field = chr(34) & variable & chr(34)
rs.update
>I am reading the contents of a text file into VB variables. Some of the text contain two single quotes in succession ''. I need to replace the two '' with one " and then insert into a recordset. I am not using the insert statement I am using:
>
>rs.addnew
>rs!field = variable
>rs.update
>
>How do I go about this?
>
>Thanks!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform