The following procedure implements synchronization. Synchronization requires SQL Anywhere.
Write code to implement the Synchronize button.
In the code below, the ULSyncParms object contains the synchronization parameters. For example, the ULSyncParms.UserName property specifies that when MobiLink is started, it will add a new user.
Add the following code to the Click event of the Synchronize button (btnSync):
With Connection.SyncParms .UserName = "CrossfireSample" .Stream = UltraLiteAFLib.ULStreamType.ulTCPIP .Version = "ul_default" End With Connection.Synchronize DisplayCurrentRow