Solved

Refreshing ADO not the Greed !!!

Posted on 2000-05-02
3
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

688 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