Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT INTO statement

Status
Not open for further replies.

bboggessswcg

Programmer
Jun 6, 2003
34
0
0
US
I am building an SQL statement on the fly in my program from a recordset. My problem is that there are comma's in the data that is messing up my SQL string. Could you please help me find an answer to this as soon as possible. The only thing I have tried is putting in the Chr code for comma, but that did not work, or I have the wrong syntax. This data is being inserted into a .dbf file. Thanks in advance.
 
Have you any code example,

I suppose you havn't set a brackets arround a numeric Value

peterguhl@yahoo.de
 
The best way, IMHO, use ADO paramters.

See chiph's post in thread222-640856.

Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top