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
If I don't close the connection all works as it should. Any ideas?
The server prog uses dbExpress.
Connection.Connected := True;
CDS.Params.asInteger := strToInt(edit1.text);
Connection.Connected := False;