🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO Data Update

#2477
From: Bill
Date: Wed, 28 May 2003 19:37
45 lines
2329 bytes
Thanks. Refresh() worked.

-Bill

Ricardo Manuel Santos Rodrigues wrote:
> 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: <3ED5100F.8030009@domain.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ECCF2E0.80203@domain.invalid> <3ed265b2@newsgroups.borland.com>

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-28 12:40:11 PST
Message-ID: <3ED5100F.8030009@domain.invalid>
Date: Wed, 28 May 2003 15:37:51 -0400
From: Bill <user@domain.invalid>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: ADO Data Update
References: <3ECCF2E0.80203@domain.invalid> <3ed265b2@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 128.251.151.137
X-Trace: newsgroups.borland.com 1054150735 128.251.151.137 (28 May 2003 12:38:55 -0700)
Lines: 46
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail