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.

codetable property

4 posts in Appeon (partner product) Last posting was on 2005-05-17 09:06:33.0Z
papa_t Posted on 2005-05-12 05:27:35.0Z
From: "papa_t" <tamagcaoili@yahoo.com>
Newsgroups: sybase.public.appeon
Organization: 222.126.62.229
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: codetable property
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <4282e947$1@forums-1-dub>
Date: 11 May 2005 22:27:35 -0700
X-Trace: forums-1-dub 1115875655 64.79.161.40 (11 May 2005 22:27:35 -0700)
X-Original-Trace: 11 May 2005 22:27:35 -0700, web110.discountasp.net
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:852
Article PK: 20927

Hello everyone.

I am trying to get the codetable property of an edit or editmask control in a
datawindow. I creates a function within an nvo to do it.

public function string uf_usecodetable (string as_datawindow, string
as_columnname);
string ls_desc, ls_datastore
appeondatastore lds_datastore

lds_datastore = CREATE appeondatastore
lds_datastore.dataobject = as_datawindow
ls_desc = as_columnname + ".Edit.CodeTable"
ls_desc = lds_datastore.Describe(ls_desc)

RETURN ls_desc

end function

It works fine while in an n-tier environment, but returns "undefined" when
deployed to appeon and run.
Can anybody give me a step-by-step solution to this problem?

Cheers,
Terence
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Dean Jones Posted on 2005-05-13 13:02:21.0Z
From: "Dean Jones" <dean_dot_jones_at_powerobjects_dot_com>
Newsgroups: sybase.public.appeon
References: <4282e947$1@forums-1-dub>
Subject: Re: codetable property
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: 216.207.144.172
Message-ID: <4284a55a$1@forums-2-dub>
X-Original-Trace: 13 May 2005 06:02:18 -0700, 216.207.144.172
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 13 May 2005 06:02:19 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 13 May 2005 06:02:21 -0700
X-Trace: forums-1-dub 1115989341 10.22.108.75 (13 May 2005 06:02:21 -0700)
X-Original-Trace: 13 May 2005 06:02:21 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:862
Article PK: 12723

I think your just missing the java stubs so Appeon can call your component.

--
Dean Jones [TeamSybase]
CEO
Certified PowerBuilder Developer
www.powerobjects.com
(612) 339-3355 ext 112

"papa_t" <tamagcaoili@yahoo.com> wrote in message
news:4282e947$1@forums-1-dub...
> Hello everyone.
>
> I am trying to get the codetable property of an edit or editmask control
> in a
> datawindow. I creates a function within an nvo to do it.
>
> public function string uf_usecodetable (string as_datawindow, string
> as_columnname);
> string ls_desc, ls_datastore
> appeondatastore lds_datastore
>
> lds_datastore = CREATE appeondatastore
> lds_datastore.dataobject = as_datawindow
> ls_desc = as_columnname + ".Edit.CodeTable"
> ls_desc = lds_datastore.Describe(ls_desc)
>
> RETURN ls_desc
>
> end function
>
> It works fine while in an n-tier environment, but returns "undefined" when
> deployed to appeon and run.
> Can anybody give me a step-by-step solution to this problem?
>
> Cheers,
> Terence
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp


Julie Jiang Posted on 2005-05-13 09:15:45.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
Organization: 210.21.221.178
References: <4282e947$1@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: codetable property
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <42847041$1@forums-1-dub>
Date: 13 May 2005 02:15:45 -0700
X-Trace: forums-1-dub 1115975745 64.79.161.40 (13 May 2005 02:15:45 -0700)
X-Original-Trace: 13 May 2005 02:15:45 -0700, web110.discountasp.net
Lines: 72
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:860
Article PK: 20932

Hi Terence,

Appeon engineer designed a test case according to your description, and the
test case works well in both PB and on the Web.

You should take the following steps to ensure the successful deployment:

1. Make all 3-tier DataWindows and DataStores inherited from
AppeonDataStore and AppeonDataWindow.
2. Make sure the parameter used on the following functions (if any is used)
has already been converted into string, because Appeon currently does not
support BLOB Data type as the parameter to these functions.
a. GetFullState
b. SetFullState
c. GetChanges
d. SetChanges

3. Deploy the 3-tier NVOs, DataWindows and DataStores in the application to
the EAServer where your Appeon Server is installed.

4. Make sure all your 3-tier NVOs are deployed to the package which has the
same name with that of your PowerBuilder application.

5. Generate stub and skeleton for all the 3-tier NVOs, after you deployed
them to the EAServer. Be sure to select the the following options, and
leave the other options at default:
Generate Stubs
Generate Java Stubs
Generate Java Files
Compile Java Stubs

6. Migrate the whole application using Appeon product. Note that the
server application must also be migrated to the Web with the Appeon
Deployment Wizard.

For more details, you can refer to
http://www.appeon.net/support/documents/workarounds.htm: Common Workaround
Techniques > Using Appeon enhancements.

Regards,
Julie

On 11 May 2005 22:27:35 -0700,
in sybase.public.appeon

papa_t <tamagcaoili@yahoo.com> wrote:
>Hello everyone.
>
>I am trying to get the codetable property of an edit or editmask control in a
>datawindow. I creates a function within an nvo to do it.
>
>public function string uf_usecodetable (string as_datawindow, string
>as_columnname);
>string ls_desc, ls_datastore
>appeondatastore lds_datastore
>
>lds_datastore = CREATE appeondatastore
>lds_datastore.dataobject = as_datawindow
>ls_desc = as_columnname + ".Edit.CodeTable"
>ls_desc = lds_datastore.Describe(ls_desc)
>
>RETURN ls_desc
>
>end function
>
>It works fine while in an n-tier environment, but returns "undefined" when
>deployed to appeon and run.
>Can anybody give me a step-by-step solution to this problem?
>
>Cheers,
>Terence
>---== Posted via the PFCGuide Web Newsreader ==---
>http://www.pfcguide.com/_newsgroups/group_list.asp


papa_t Posted on 2005-05-17 09:06:33.0Z
From: "papa_t" <tamagcaoili@yahoo.com>
Newsgroups: sybase.public.appeon
Organization: 222.126.62.229
References: <4282e947$1@forums-1-dub> <42847041$1@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: codetable property
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <4289b419@forums-1-dub>
Date: 17 May 2005 02:06:33 -0700
X-Trace: forums-1-dub 1116320793 64.79.161.40 (17 May 2005 02:06:33 -0700)
X-Original-Trace: 17 May 2005 02:06:33 -0700, web110.discountasp.net
Lines: 78
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:867
Article PK: 20936

thanks julie!
it works fine now!

On 13 May 2005 02:15:45 -0700,
in sybase.public.appeon

Julie Jiang <julie.jiang@appeon.net> wrote:
>Hi Terence,
>
>Appeon engineer designed a test case according to your description, and the
>test case works well in both PB and on the Web.
>
>You should take the following steps to ensure the successful deployment:
>
>1. Make all 3-tier DataWindows and DataStores inherited from
>AppeonDataStore and AppeonDataWindow.
>2. Make sure the parameter used on the following functions (if any is used)
>has already been converted into string, because Appeon currently does not
>support BLOB Data type as the parameter to these functions.
>a. GetFullState
>b. SetFullState
>c. GetChanges
>d. SetChanges
>
>3. Deploy the 3-tier NVOs, DataWindows and DataStores in the application to
>the EAServer where your Appeon Server is installed.
>
>4. Make sure all your 3-tier NVOs are deployed to the package which has the
>same name with that of your PowerBuilder application.
>
>5. Generate stub and skeleton for all the 3-tier NVOs, after you deployed
>them to the EAServer. Be sure to select the the following options, and
>leave the other options at default:
>Generate Stubs
>Generate Java Stubs
>Generate Java Files
>Compile Java Stubs
>
>6. Migrate the whole application using Appeon product. Note that the
>server application must also be migrated to the Web with the Appeon
>Deployment Wizard.
>
>For more details, you can refer to
>http://www.appeon.net/support/documents/workarounds.htm: Common Workaround
>Techniques > Using Appeon enhancements.
>
>Regards,
>Julie
>
>On 11 May 2005 22:27:35 -0700,
> in sybase.public.appeon
>papa_t <tamagcaoili@yahoo.com> wrote:
>>Hello everyone.
>>
>>I am trying to get the codetable property of an edit or editmask control in a
>>datawindow. I creates a function within an nvo to do it.
>>
>>public function string uf_usecodetable (string as_datawindow, string
>>as_columnname);
>>string ls_desc, ls_datastore
>>appeondatastore lds_datastore
>>
>>lds_datastore = CREATE appeondatastore
>>lds_datastore.dataobject = as_datawindow
>>ls_desc = as_columnname + ".Edit.CodeTable"
>>ls_desc = lds_datastore.Describe(ls_desc)
>>
>>RETURN ls_desc
>>
>>end function
>>
>>It works fine while in an n-tier environment, but returns "undefined" when
>>deployed to appeon and run.
>>Can anybody give me a step-by-step solution to this problem?
>>
>>Cheers,
>>Terence
>>---== Posted via the PFCGuide Web Newsreader ==---
>>http://www.pfcguide.com/_newsgroups/group_list.asp