| Author |
change synchronisation subscription
|
|
| Eric Verhorstert 2005-07-28, 9:25 am |
| We fill at the first synchronisation the remote database. We use the
donwload datetime field to check is this is the first sync.
When connection type is changed we use the sql command "drop
synchronization subscription" and "create synchronization subscription".
A new sync id is created and it seems mobilink thinks that there is
never synchronized with this user. So we again receive all data.
We would like to keep the download information as it is. Is that possible?
Thanks
Eric
| |
| Shuchit 2005-07-28, 9:25 am |
| Eric Verhorstert <ontsnapt@hotmail.com> wrote in news:42e8d82b@forums
-1-dub:
> We fill at the first synchronisation the remote database. We use the
> donwload datetime field to check is this is the first sync.
>
> When connection type is changed we use the sql command "drop
> synchronization subscription" and "create synchronization subscription".
> A new sync id is created and it seems mobilink thinks that there is
> never synchronized with this user. So we again receive all data.
>
option 1:
Use "alter synchronization subscription" instead of deleting and re-adding
the subscription.
option 2:
Depending on what information you are changing, you might also be able to
override it on the commandline when you invoke dbmlsync.
Lookup 'CommunicationType' and CommunicationAddress
' extended options for
dbmlsync.
Shuchit
| |
| David Fishburn 2005-07-28, 1:39 pm |
| Eric Verhorstert <ontsnapt@hotmail.com> wrote in
news:42e8d82b@forums
-1-dub of sybase.public.sqlanywhere.mobilink:
....
EV> We would like to keep the download information as it is. Is that
EV> possible?
In addition to Shuchit's response, see one of my samples in CodeXchange:
http://ianywhere.codexchange.sybase...ctDocumentList?
folderID=319&expandFolder=319&folderID=531
Overriding MobiLink's LastDownload Date
OR
http://ianywhere.codexchange.sybase...205/LastDownloa
dOverride.zip
--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).
EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm
Developer Community / Whitepapers
http://www.ianywhere.com/developer
CaseXpress - to report bugs
http://casexpress.sybase.com
CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
|
|
|
|