Re: IRowsetResynch/IRowsetRefresh

Mark Dawson <[email protected]> Wed, 5 Jun 2002 09:04:11 +0100
Newsgroups gmane.comp.windows.devel.oledb.devel
Message-ID <8F42A0DBFC56D6118CE100508B8B5A3F594E@SKYLLA>
You'd be better off using the IRowsetNotify events interface as this will
inform you of changes instead of you polling the DB.
I haven't used the event notifications but there's plenty in the help about
them.

Cheers,
Mark
--------------------------------------------------------------
Mark Dawson ([email protected])
Software Project Leader
Schenck Test Automation Ltd.
Lowesmoor Wharf, Worcester.
WR1 2RS. UK
+44 (0)1905 613361


-----Original Message-----
From: Massimiliano Alberti [mailto:[email protected]]
Sent: 02 June 2002 18:25
To: [email protected]
Subject: [OLEDB_DEV] IRowsetResynch/IRowsetRefresh


Can someone give me a working example of one of these two interfaces? I
need to do a query to the DBMS (SQL Server 2000) and then every X seconds
(where X is customizable) I want to ask to the DBMS if there are
new/modified rows...

Bye
Max

You can read messages from the OLEDB_DEV archive, unsubscribe from
OLEDB_DEV,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

You can read messages from the OLEDB_DEV archive, unsubscribe from OLEDB_DEV,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.