Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,190,637 members, 7,941,475 topics. Date: Friday, 06 September 2024 at 07:49 AM

Inserting Text With Apotrophe Into Access - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Inserting Text With Apotrophe Into Access (723 Views)

Special Codes To Format Text On Nairaland / Help With Inserting Codes B/w php / Inserting And Retrieving Images To/From Database In ASP.NET (2) (3) (4)

(1) (Reply) (Go Down)

Inserting Text With Apotrophe Into Access by leastpay(m): 3:26pm On Apr 03, 2013
Please help me out i'm having problem inserting a text with apostrophe from a textbox into a ms access . E.g st. Paul's academy. I'm using vb.net 2008
Re: Inserting Text With Apotrophe Into Access by Bossman(m): 5:48pm On Apr 03, 2013
You need to escape the apostrophe. Google found this - http://stackoverflow.com/questions/199889/escaping-in-access-sql
Re: Inserting Text With Apotrophe Into Access by leastpay(m): 8:37pm On Apr 04, 2013
Thnks bossman, i did it using "replace". I discovered several ways of solving that problem like using parameterize query when inserting value

(1) (Reply)

I Want To Design Javascript Calculator Some One. Should Help. Me With Codes / Closed / Help! Android Sdk Emulator Not Working

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.