Contents Index OnReceive event OnStateChange event

UltraLite ActiveX User's Guide
  UltraLite ActiveX API Reference
    ULDatabaseManager class

OnSend event


Prototype 

OnSend(
   nBytes As Long,
   nInserts As Long,
   nUpdates As Long,
   nDeletes As Long
)
Member of UltraliteActiveX.ULDatabaseManager

Description 

Reports upload information from the remote database via MobiLink to the consolidated database. This event may be called several times.

Parameters 

nBytes    Cumulative count of bytes sent by the remote application to the consolidated database via MobiLink.

nInserts    Cumulative count of inserts sent by the remote application to the consolidated database via MobiLink.

nUpdates    Cumulative count of updates sent by the remote application to the consolidated database via MobiLink.

nDeletes    Cumulative count of deletes sent by the remote application to the consolidated database via MobiLink.

Example 
' eMbedded Visual Basic
Private Sub Connection_OnSend(ByVal nBytes As Long, _
    ByVal nInserts As Long, ByVal nUpdates As Long,  _
    ByVal nDeletes As Long)
  send_count = send_count + nBytes
  DisplaySyncStatus
End Sub

Contents Index OnReceive event OnStateChange event