Dealing with commas in data

eacollie

Registered User.
Local time
Today, 11:04
Joined
May 14, 2011
Messages
159
I'm using an INSERT statement which includes a text field that could have commas.

INSERT INTO tblTEMP (Name) VALUES ('" & nRname & "')

Is there a way to format for this?

Thanks!
 
Not quite sure the relevance of the commas, unless your nRname string contains field names separated by them.

Can you give some sample data?
 
Examples: Joe's Bar, Henry's Café, Women's Club......

When these values are picked up into the INSERT statement and run, it causes an error.
 

Users who are viewing this thread

Back
Top Bottom