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.

Publications on WinCE 3.0

2 posts in General Discussion Last posting was on 2004-05-17 15:59:10.0Z
Oscar Verdeja Posted on 2004-04-21 16:07:47.0Z
From: "Oscar Verdeja" <overdeja@idataw.com>
Newsgroups: ianywhere.public.general
Subject: Publications on WinCE 3.0
Lines: 449
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 209.194.168.225
X-Original-NNTP-Posting-Host: 209.194.168.225
Message-ID: <40869c53@forums-1-dub>
Date: 21 Apr 2004 09:07:47 -0700
X-Trace: forums-1-dub 1082563667 209.194.168.225 (21 Apr 2004 09:07:47 -0700)
X-Original-Trace: 21 Apr 2004 09:07:47 -0700, 209.194.168.225
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2987
Article PK: 6456

Mobilink 8.0.2 (4372)

Hello,

I have a schema that has two publications, one that has all the tables
and another that includes only one table. Im trying to synchronize the
pulication that has only one table but it syncs all the tables. Im deploying
for WinCE 3.0. On Mobilink, I dont get any error nor indication that it
tried to sync the publication I specified.

Here is the code Im using, what can I be missing?

Set g_oConection = g_oDataBaseManager.OpenConnection(g_open_parms)

If Err.Number = ULSQLCode.ulSQLE_NOERROR Then

ElseIf Err.Number = ULSQLCode.ulSQLE_DATABASE_NOT_FOUND Then
Set g_oConection = g_oDataBaseManager.CreateDatabase(g_schema_parms)
Err.Clear
End If

If (SincronizarDB("PPR3", ulTCPIP, "host=128.100.1.96;port=4447",
"pub_suma_pagos")) Then

----------------------------------------------------------------------------
--------------------------------------------

Public Function SincronizarDB(Usuario As String, Tipo As ULStreamType,
Parametros As String, Publicacion As String) As Boolean
Dim oConnection As ULConnection

On Error Resume Next

SincronizarDB = False
Set oConnection = g_oDataBaseManager.OpenConnection(g_open_parms)

FEspera.InitSyncForm oConnection

FEspera.Show


oConnection.SyncParms.UserName = Usuario
oConnection.SyncParms.PublicationMask =
oConnection.Schema.Publications(Publicacion).Mask
oConnection.SyncParms.Stream = Tipo
oConnection.SyncParms.Version = "v_SUMA_1"
oConnection.SyncParms.StreamParams = Parametros
oConnection.SyncParms.SendColumnNames = True

'FEspera.SyncProgress oConnection
FEspera.Refresh
oConnection.Synchronize (True)

If Not (Err.Number = ULSQLCode.ulSQLE_NOERROR) Then
MsgBox Err.Number & vbCrLf & Err.Description, vbOKOnly, "Error"
Else
SincronizarDB = True
End If

FEspera.Hide
oConnection.Close
Set oConnection = Nothing

End Function



Oscar


David Fishburn Posted on 2004-05-17 15:59:10.0Z
Newsgroups: ianywhere.public.general
Subject: Re: Publications on WinCE 3.0
From: David Fishburn <fishburn_spam_off@ianywhere.com>
References: <40869c53@forums-1-dub>
Organization: iAnywhere Solutions
Message-ID: <Xns94EC79E2B824Bfishburnsybasecom@10.22.241.106>
User-Agent: Xnews/06.08.25
NNTP-Posting-Host: 10.25.100.243
X-Original-NNTP-Posting-Host: 10.25.100.243
Date: 17 May 2004 08:59:10 -0700
X-Trace: forums-1-dub 1084809550 10.25.100.243 (17 May 2004 08:59:10 -0700)
X-Original-Trace: 17 May 2004 08:59:10 -0700, 10.25.100.243
Lines: 33
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3051
Article PK: 6516

"Oscar Verdeja" <overdeja@idataw.com> wrote in
news:40869c53@forums-1-dub:

OV> Mobilink 8.0.2 (4372)

You are better off posting this on the UltraLite newsgroup.
sybase.public.sqlanywhere.ultralite

Please include what UL API you are using.
The CREATE PUBLICATION statements.
Your ulgen command line.

--
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
http://ianywhere.codexchange.sybase.com/servlets/ProjectDocumentList