Article View: borland.public.cppbuilder.database.ado
Article #2558Re: ADO Data Update
From: Ricardo Manuel Santos Rodrigues
Date: Mon, 26 May 2003 19:06
Date: Mon, 26 May 2003 19:06
36 lines
2108 bytes
2108 bytes
Just refresh the table.. on your timer just refresh the table :D TADOTable->Refresh(); if not kill the connection and connect again.. Hope it helps --Ricardo "Bill" <user@domain.invalid> escreveu na mensagem news:3ECCF2E0.80203@domain.invalid... > Hi, > > I have a simple MS Access database on my local hard drive. I'm using > BCB6 Pro TADOTable, TADOConnection to access the database. I have a > simple program that I use to view and modify the data in the database. > I have three programs running, two of the three are the same simple > program I created, the third is MS Access. When I modify the data in the > database by using the TADOTable->Post() command in my program, the > change is reflected immediately in the MS Access (I can see the change > in MS Access table), but the change I made does not show on my program. > How do I make the program Change-aware. I'm using a TTimer OnTimer event > to check the database. The only time I see the change is if I close and > reopen the database. > > Can anyone help? > > Thanks > > -Bill >
Technical Details
Message-ID:
<3ed265b2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ECCF2E0.80203@domain.invalid>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,4d339048fc0142ba X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-05-26 12:09:13 PST From: "Ricardo Manuel Santos Rodrigues" <madinfo AT cadaval DOT net> Newsgroups: borland.public.cppbuilder.database.ado References: <3ECCF2E0.80203@domain.invalid> Subject: Re: ADO Data Update Date: Mon, 26 May 2003 20:06:41 +0100 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 193.126.187.104 Message-ID: <3ed265b2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053975986 193.126.187.104 (26 May 2003 12:06:26 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail