Help: WithEvents ADODB Recordset

Help: WithEvents ADODB Recordset

Postby anserkk » Fri Oct 31, 2008 6:55 am

Hi all,

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

Code: Select all  Expand view
Dim WithEvents rs As ADODB.Recordset 


I know the regular one ie
Code: Select all  Expand view
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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Postby Antonio Linares » Fri Oct 31, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby anserkk » Fri Oct 31, 2008 9:33 am

Thankyou Mr.Antonio for the information.

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests