Solved

Refreshing ADO not the Greed !!!

Posted on 2000-05-02
3
178 Views
Last Modified: 2010-05-02
Hi

I am getting a live streaming data in an SQL7 Database table every 1sec.

And I have to desplay this streaming data on a Data greed control without refreshing the control but only the ADO Recordset!!!!!!!

A-  What is it best to use :
      1- the Recordset.Resync method or the
      2- the Recordset.Requery method  or
      3-  any  other method?????

How do i do that...?????

Have you any suggestion..........on refreshing ADO and not the Control !!!!!
I am dealing for the fist time with this Methods
0
Comment
Question by:papaioannou
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
wsh2 earned 50 total points
ID: 2770508
From MSDN:
--------------------------------------
Use the Resync method to resynchronize records in the current Recordset with the underlying database. This is useful if you are using either a static or forward-only cursor but you want to see any changes in the underlying database.

Use the Requery method to refresh the entire contents of a Recordset object from the data source by reissuing the original command and retrieving the data a second time. Calling this method is equivalent to calling the Close and Open methods in succession. If you are editing the current record or adding a new record, an error occurs.


0
 

Author Comment

by:papaioannou
ID: 2770531
Is it possible to write a small code example ???
0
 

Author Comment

by:papaioannou
ID: 2772710
have you any code example?????
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 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