Click or drag to resize

IScriptingEventsOnAfterReadReplicationFile Method

Called after a replication file has been read (for each file if multiple files are read in one operation); exactly the given file has been written

Namespace:  SuperOffice.COM.ScriptEvents
Assembly:  Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntax
void OnAfterReadReplicationFile(
	int travellerid,
	int filenumber,
	string filepath
)

Parameters

travellerid
Type: SystemInt32
filenumber
Type: SystemInt32
filepath
Type: SystemString
Examples

Description

This text may be copied to the notepad, and saved as a *.vbs file.

VB
Sub OnAfterReadReplicationFile
    If Database.DataSourceVariant = 1 Then 'enDBVariantTravel
     SOMessageBox "Check you diary for new appointments made by your co-workers."       
    ElseIf Database.DataSourceVariant = 0 Then 'enDBVariantCentral
        SOMessageBox "New information added"
    ElseIf Database.DataSourceVariant = 2 Then ' enDBVariantSatellite
    SOMessageBox "New information added"
    End If

End Sub

See Also