Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Mobilelink upload_insert update_update ... event

4 posts in General Discussion Last posting was on 2007-10-30 09:21:12.0Z
gpzhang Posted on 2007-10-29 02:14:23.0Z
From: "gpzhang" <gpzhang@sybase.com>
Newsgroups: ianywhere.public.general
Subject: Mobilelink upload_insert update_update ... event
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: gpzhang-desktop.sybase.com
X-Original-NNTP-Posting-Host: gpzhang-desktop.sybase.com
Message-ID: <4725500f$1@forums-1-dub>
Date: 28 Oct 2007 19:14:23 -0700
X-Trace: forums-1-dub 1193627663 10.42.14.187 (28 Oct 2007 19:14:23 -0700)
X-Original-Trace: 28 Oct 2007 19:14:23 -0700, gpzhang-desktop.sybase.com
X-Authenticated-User: pbplugin
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6492
Article PK: 4782

Hi,

Is upload_insert update_update ... event called for every single uploaded
row or for every uploaded table?

Is download_cursor and download_delete_cursor called for every download
table?

Thanks,


Breck Carter [Team iAnywhere] Posted on 2007-10-29 12:26:37.0Z
From: "Breck Carter [Team iAnywhere]" <NOSPAM__bcarter@risingroad.com>
Newsgroups: ianywhere.public.general
Subject: Re: Mobilelink upload_insert update_update ... event
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__bcarter@risingroad.com
Message-ID: <bonbi3p99dmcjcvfj7lpm0nvcpbjuhb51c@4ax.com>
References: <4725500f$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: bcarter.sentex.ca
X-Original-NNTP-Posting-Host: bcarter.sentex.ca
Date: 29 Oct 2007 05:26:37 -0700
X-Trace: forums-1-dub 1193664397 64.7.134.118 (29 Oct 2007 05:26:37 -0700)
X-Original-Trace: 29 Oct 2007 05:26:37 -0700, bcarter.sentex.ca
Lines: 24
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6493
Article PK: 3110


On 28 Oct 2007 19:14:23 -0700, "gpzhang" <gpzhang@sybase.com> wrote:

>Hi,
>
>Is upload_insert update_update ... event called for every single uploaded
>row or for every uploaded table?

Once for each uploaded row that is to be inserted or updated or
deleted.

>
>Is download_cursor and download_delete_cursor called for every download
>table?

Once for the table.

Breck

--
Breck Carter [Team iAnywhere]
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
The book: http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html
breck.carter@risingroad.com


gpzhang Posted on 2007-10-30 00:44:45.0Z
From: "gpzhang" <gpzhang@sybase.com>
Newsgroups: ianywhere.public.general
References: <4725500f$1@forums-1-dub> <bonbi3p99dmcjcvfj7lpm0nvcpbjuhb51c@4ax.com>
Subject: Re: Mobilelink upload_insert update_update ... event
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: gpzhang-desktop.sybase.com
X-Original-NNTP-Posting-Host: gpzhang-desktop.sybase.com
Message-ID: <47268c8d$1@forums-1-dub>
Date: 29 Oct 2007 17:44:45 -0700
X-Trace: forums-1-dub 1193708685 10.42.14.187 (29 Oct 2007 17:44:45 -0700)
X-Original-Trace: 29 Oct 2007 17:44:45 -0700, gpzhang-desktop.sybase.com
X-Authenticated-User: pbplugin
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6497
Article PK: 3112

Hi Breck,

Thank you very much for your reply. Is there any document to refer finding
these informations? (I looked through Mobilelink-Server Adiministration
Doc's event handling, did not find this sort of thing.)
Also is that true every event script like download_cursor must be one sql
statement? meaning cannot write one insert, one select for download_cursor
etc?

Thanks

"Breck Carter [Team iAnywhere]" <NOSPAM__bcarter@risingroad.com> wrote in
message news:bonbi3p99dmcjcvfj7lpm0nvcpbjuhb51c@4ax.com...
> On 28 Oct 2007 19:14:23 -0700, "gpzhang" <gpzhang@sybase.com> wrote:
>
>>Hi,
>>
>>Is upload_insert update_update ... event called for every single uploaded
>>row or for every uploaded table?
>
> Once for each uploaded row that is to be inserted or updated or
> deleted.
>
>>
>>Is download_cursor and download_delete_cursor called for every download
>>table?
>
> Once for the table.
>
> Breck
>
> --
> Breck Carter [Team iAnywhere]
> RisingRoad SQL Anywhere and MobiLink Professional Services
> www.risingroad.com
> The book:
> http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html
> breck.carter@risingroad.com


Breck Carter [Team iAnywhere] Posted on 2007-10-30 09:21:12.0Z
From: "Breck Carter [Team iAnywhere]" <NOSPAM__bcarter@risingroad.com>
Newsgroups: ianywhere.public.general
Subject: Re: Mobilelink upload_insert update_update ... event
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__bcarter@risingroad.com
Message-ID: <u11ei31pm5gv9qoprrmq6r4q8ep3r7d9li@4ax.com>
References: <4725500f$1@forums-1-dub> <bonbi3p99dmcjcvfj7lpm0nvcpbjuhb51c@4ax.com> <47268c8d$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: bcarter.sentex.ca
X-Original-NNTP-Posting-Host: bcarter.sentex.ca
Date: 30 Oct 2007 02:21:12 -0700
X-Trace: forums-1-dub 1193739672 64.7.134.118 (30 Oct 2007 02:21:12 -0700)
X-Original-Trace: 30 Oct 2007 02:21:12 -0700, bcarter.sentex.ca
Lines: 65
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6498
Article PK: 4784

Be sure to read all the MobiLink material in the Help, and look at the
code in the Samples folder.

For version 9 the samples are easy to find...
C:\Program Files\Sybase\SQL Anywhere 9\Samples\MobiLink

For version 10, they had to hide, er, move the samples because of the
restrictions imposed by Vista...
C:\Documents and Settings\All Users\Documents\SQL Anywhere
10\Samples\MobiLink

Also, you can read about version 9 MobiLink in Chapter 7
Synchronization of this book
http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html

Breck

On 29 Oct 2007 17:44:45 -0700, "gpzhang" <gpzhang@sybase.com> wrote:

>Hi Breck,
>
>Thank you very much for your reply. Is there any document to refer finding
>these informations? (I looked through Mobilelink-Server Adiministration
>Doc's event handling, did not find this sort of thing.)
>Also is that true every event script like download_cursor must be one sql
>statement? meaning cannot write one insert, one select for download_cursor
>etc?
>
>Thanks
>
>"Breck Carter [Team iAnywhere]" <NOSPAM__bcarter@risingroad.com> wrote in
>message news:bonbi3p99dmcjcvfj7lpm0nvcpbjuhb51c@4ax.com...
>> On 28 Oct 2007 19:14:23 -0700, "gpzhang" <gpzhang@sybase.com> wrote:
>>
>>>Hi,
>>>
>>>Is upload_insert update_update ... event called for every single uploaded
>>>row or for every uploaded table?
>>
>> Once for each uploaded row that is to be inserted or updated or
>> deleted.
>>
>>>
>>>Is download_cursor and download_delete_cursor called for every download
>>>table?
>>
>> Once for the table.
>>
>> Breck
>>
>> --
>> Breck Carter [Team iAnywhere]
>> RisingRoad SQL Anywhere and MobiLink Professional Services
>> www.risingroad.com
>> The book:
>> http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html
>> breck.carter@risingroad.com
>

--
Breck Carter [Team iAnywhere]
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
The book: http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html
breck.carter@risingroad.com