Solved

TClientDataste - Help!

Posted on 2000-04-10
2
133 Views
Last Modified: 2010-04-04
my applicaton is using TClientDataset
and when i tried to get the latest updates from the provider - by using the
refresh method(of the TClientDataSet) - it didnt work and i didnt get the updates. it only worked
for me when i used Close and then Open.
is there any other way to do refresh?

thanks


0
Comment
Question by:Assaf
2 Comments
 

Author Comment

by:Assaf
ID: 2683807
Adjusted points from 100 to 105
0
 
LVL 10

Accepted Solution

by:
ECollin earned 105 total points
ID: 2737463
The refresh method is not reimplemented on the TClientDataSet and you should not use it.
Use the provider to refresh data by this way :

Provider1.Reset(True);
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now