Client DataSet refreshing

Client DataSet refreshing

Post by Russell We » Tue, 05 Aug 2003 18:19:31


Hi

I have a cds which links to a provider in a server appplication. If I use
the following code, I get the correct result first time, but after that it
seems to keep hold of the data retrieved first time rather than get the
record provided.

If I don't close the connection all works as it should. Any ideas?

The server prog uses dbExpress.

CDS.close;
Connection.Connected := True;
CDS.Params[0].asInteger := strToInt(edit1.text);
CDS.open;
Connection.Connected := False;


thanks

Russell
 
 
 

Client DataSet refreshing

Post by Russell We » Wed, 06 Aug 2003 01:35:49

Hi Dave

Delphi 6 - Enterprise, all patches official and unofficial