🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #655

Re: Using TAdoQuery to insert record in MS Access

#655
From: Tom
Date: Fri, 03 Feb 2006 17:54
15 lines
1340 bytes
ADOQuery1->SQL->Add("INSERT INTO TableName (FieldName1,FieldName2,...) 
VALUES ('Value1','Value2',...)");
ADOQuery1->Open();


Elizabeth wrote:
> Hi All,
> 
> I want to insert a record in MS access database using TAdoQuery.
> Has anyone any idea how to do it ?
> 
> thanks,
> Elizabeth.
> 
> 
Technical Details
Message-ID: <43e39813$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43e3653b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,dd1624c1f8b2994c
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 03 Feb 2006 18:54:47 +0100
From: Tom <tom@net.com>
Reply-To:  tom@net.com
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Using TAdoQuery to insert record in MS Access
References: <43e3653b$1@newsgroups.borland.com>
In-Reply-To: <43e3653b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.202.112.132
Message-ID: <43e39813$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138989075 213.202.112.132 (3 Feb 2006 09:51:15 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail