So in Datasnap project I have a ClientDataSet on Client connected to a AdoQuery that is on server and it has straight forward query "select * from customer". But I am noticing that ClientdataSet.Open; ClientdataSet.Close; dosen't refresh data from actual database table.

So in Datasnap project I have a ClientDataSet on Client connected to a AdoQuery that is on server and it has straight forward query "select * from customer". But I am noticing that ClientdataSet.Open; ClientdataSet.Close; dosen't refresh data from actual database table.  

It works good if I use ClientDataSet.CommandText or if I use AdoQuery with parameters. Any idea what am I missing here? Thanks.

Comments