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.

Is sybase workspace1.6 support the datawindow object by PB903 create?

3 posts in General Discussion Last posting was on 2006-11-29 07:02:39.0Z
qhc_cn Posted on 2006-11-28 03:22:12.0Z
Sender: 2129.4566a158.846930886@sybase.com
From: qhc_cn@sohu.com
Newsgroups: sybase.public.workspace.general
Subject: Is sybase workspace1.6 support the datawindow object by PB903 create?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <456bb974.ffb.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Nov 2006 20:22:12 -0700
X-Trace: forums-1-dub 1164687732 10.22.241.41 (27 Nov 2006 20:22:12 -0700)
X-Original-Trace: 27 Nov 2006 20:22:12 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:239
Article PK: 1087904

Is sybase workspace1.6 support the datawindow object by
PB903 create?
my code:
ds = new Datastore("G:\\test.pbl","d_test");
throw exception:
DataWindowLoadFailedException
the d_test by pb903 create.


"Alexander Pire" <Alexander_no_spam_ Posted on 2006-11-29 05:34:57.0Z
From: "Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com>
Newsgroups: sybase.public.workspace.general
References: <456bb974.ffb.1681692777@sybase.com>
Subject: Re: Is sybase workspace1.6 support the datawindow object by PB903 create?
Lines: 29
Organization: PowerObjects
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
X-Original-NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
Message-ID: <456d2a11@forums-1-dub>
Date: 28 Nov 2006 22:34:57 -0700
X-Trace: forums-1-dub 1164782097 68.227.90.197 (28 Nov 2006 22:34:57 -0700)
X-Original-Trace: 28 Nov 2006 22:34:57 -0700, wsip-68-227-90-197.om.om.cox.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:240
Article PK: 1087910

Yep is supported and is exactly the same as in PB

ds.create(arg);

The second optional argument is not present in there, you will have to catch
the exception.

Best Regards

--

Alexander Pire
PowerObjects
www.powerobjects.com
612.339.3355
**IT Solutions - Outside the Box**

<qhc_cn@sohu.com> wrote in message
news:456bb974.ffb.1681692777@sybase.com...
> Is sybase workspace1.6 support the datawindow object by
> PB903 create?
> my code:
> ds = new Datastore("G:\\test.pbl","d_test");
> throw exception:
> DataWindowLoadFailedException
> the d_test by pb903 create.


qhc_cn Posted on 2006-11-29 07:02:39.0Z
Sender: 120b.456bd9d9.1804289383@sybase.com
From: qhc_cn@sohu.com
Newsgroups: sybase.public.workspace.general
Subject: Re: Is sybase workspace1.6 support the datawindow object by PB903 create?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <456d3e9f.2f7d.1681692777@sybase.com>
References: <456d2a11@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 29 Nov 2006 00:02:39 -0700
X-Trace: forums-1-dub 1164787359 10.22.241.41 (29 Nov 2006 00:02:39 -0700)
X-Original-Trace: 29 Nov 2006 00:02:39 -0700, 10.22.241.41
Lines: 45
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:242
Article PK: 1087916

thanks.
In the doc:
Constructor Summary
Datastore()
Creates a new instance of the Java Datastore.
Datastore(java.lang.String libraryList, java.lang.String
dataWindowObject)
Creates a new instance of the Java Datastore given
the PowerBuilder library list and the datawindow object.

In the example code:
jdstore = new
Datastore("D:\\PB105samples\\test.pbl","d_emp");

Is right when i use the PB105samples\\test.pbl
My code is right.

> Yep is supported and is exactly the same as in PB
>
> ds.create(arg);
>
> The second optional argument is not present in there, you
> will have to catch the exception.
>
> Best Regards
>
> --
>
> Alexander Pire
> PowerObjects
> www.powerobjects.com
> 612.339.3355
> **IT Solutions - Outside the Box**
>
>
> <qhc_cn@sohu.com> wrote in message
> news:456bb974.ffb.1681692777@sybase.com...
> > Is sybase workspace1.6 support the datawindow object by
> > PB903 create?
> > my code:
> > ds = new Datastore("G:\\test.pbl","d_test");
> > throw exception:
> > DataWindowLoadFailedException
> > the d_test by pb903 create.
>
>