🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADOConnection, ADOTable, ADOQuery Basics

#84
From: Sudesh
Date: Mon, 18 Feb 2008 11:59
22 lines
1669 bytes
Hello,

I hope this is correct NG to ask my questions.

With ADOConnection and Microsoft.Jet.OLEDB.4.0 I have managed to connect and
read a simple MS Access database. I am displaying records in DBGrid.

Can somebody please quickly guide me how to do the following?
1. Insert/delete/update records
2. Carry out SQL to filter records (and update DBGrid)
something like below
SELECT student_name,student_score FROM marks WHERE student_name = "foo"
or
SELECT student_name,student_score FROM marks WHERE student_score > 80

3. if application is to be deployed on another PC or network what is 
required?

(BDS2006)

Thanks,
Sudesh
Technical Details
Message-ID: <47b97333@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,a49b6386b1d150d4,start
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sudesh" <sudeshc@vfemail.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADOConnection, ADOTable, ADOQuery Basics
Date: Mon, 18 Feb 2008 17:29:30 +0530
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 59.182.121.73
Message-ID: <47b97333@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1203335987 59.182.121.73 (18 Feb 2008 03:59:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail