Re: TClientDataset and Refresh
- From: "Stephen K. Miyasato" <miyasat@xxxxxxxx>
- Date: Tue, 29 Aug 2006 12:24:24 -1000
I forgot to mention that I'm using MSSQL2000 using stored procedures. Delphi
7.
This is the code :
begin
with Datamodule1, dataModule1.cdsNotify do
try
DisableControls;
TblNotify.Active := True;
iPos := cdsNotifyRindex.AsInteger;
Refresh; <= refresh the ClientDataset
Locate('Rindex',iPos,[]);
finally
TblNotify.Active := False;
EnableControls;
end;
end;
"Stephen K. Miyasato" <miyasat@xxxxxxxx> wrote in message
news:44f4ae61$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I have a TClientDataset set to a TADODataset which is set to close (Active
= False). When I do a Refresh it does not refresh the TClientDataset.
I have to manually shut don't the application then restart it in order to
get the new updates. I have the TclientDataset set up in read-only mode.
Any resolution to the problem?
Stephen K. Miyasato
.
- References:
- TClientDataset and Refresh
- From: Stephen K. Miyasato
- TClientDataset and Refresh
- Prev by Date: Outer join in Access
- Next by Date: Re: TDBmemo fields and Memory Tables
- Previous by thread: TClientDataset and Refresh
- Next by thread: Re: TClientDataset and Refresh
- Index(es):
Relevant Pages
|