To use direct row handling, you need familiarity with how to create a MobiLink consolidated database, add synchronization scripts, and create MobiLink remote users.
To synchronize with a data source other than a consolidated database, complete the following steps.
Set up a consolidated database, if you do not already have one.
Whether you are synchronizing to a consolidated database, you need to have a consolidated database to hold MobiLink system tables.
If you want to handle uploads, write a public method using the UploadData interface and register it for the handle_UploadData connection event.
If you want to handle downloads, write a public method using the DownloadData interface and register it for the handle_DownloadData connection event (or another event).
If you want to use the row handling API to refer to columns by name (rather than by index), specify in your client that column names should be sent with the upload. See:
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|