Solved

Refreshing ADO not the Greed !!!

Posted on 2000-05-02
3
181 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 75
Spell Check in VB6 13 146
VB6 common control 6 sp6 object library not registerd 3 62
transition to visual .net from vb6 5 77
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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