ADOConnection INSERT INTO error
- From: Iguana <gmostroff@xxxxxxxxxxxxx>
- Date: Fri, 7 Mar 2008 13:20:03 -0800 (PST)
I am working with Delphi 2007 and trying to do the simplest thing
imaginable. I have an ADOConnection using a MS JET 4.0 0LE DB
connection to an Access 2003 database. I am trying to insert a record
and having no luck.
I have done this many times before using older versions of Delphi.
The code is:
ADOConnection1.Execute('INSERT INTO workingdays (year) VALUES
(2011)');
When I use that same string directly in Access - using the SQLview -
it works fine. When I do it in Delphi, I get a message saying that
something is wrong with my SQL string.
Thanks!
.
- Follow-Ups:
- Re: ADOConnection INSERT INTO error
- From: Iguana
- Re: ADOConnection INSERT INTO error
- Prev by Date: Re: Ado mdb network
- Next by Date: ADO and multiple connection component
- Previous by thread: Re: Ado mdb network
- Next by thread: Re: ADOConnection INSERT INTO error
- Index(es):
Relevant Pages
|