FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help: WithEvents ADODB Recordset
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Help: WithEvents ADODB Recordset
Posted: Fri Oct 31, 2008 06:55 AM
Hi all,

What will be the FWH equivalent of the below given VB declaration

Dim WithEvents rs As ADODB.Recordset


I know the regular one ie
oRs:=CreateObject("ADODB.RecordSet")


But what about the parameter WithEvents ?

Will be very useful while developing application in WAN network.

For eg: If you are loading huge data to xBrowse or any control, User will not feel the time delay by using "ADODB.Recordset withEvents" because Initially few records will be loaded into the xBrowse and rest of the records will be fetched in the background. That's what I understand.

I hope xBrowse will be able to handle this type of RecordSet

A Spanish wensite link for more info

http://www.recursosvisualbasic.com.ar/h ... ogreso.htm

Regards

Anser
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Help: WithEvents ADODB Recordset
Posted: Fri Oct 31, 2008 08:22 AM

Anser,

It seems that neither Harbour or xHarbour support events for OLE automation objects, yet.

At least, not the free versions.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Help: WithEvents ADODB Recordset
Posted: Fri Oct 31, 2008 09:33 AM

Thankyou Mr.Antonio for the information.

Regards

Anser

Continue the discussion