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:
You can post questions on the MobiLink newsgroup: sybase.public.sqlanywhere.mobilink.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |