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.

Problem with control[] assignment

2 posts in Objects Last posting was on 2008-06-03 17:54:00.0Z
Gwydion Posted on 2008-06-03 14:08:46.0Z
From: Gwydion <gwydion@oletros.info>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Problem with control[] assignment
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4845506e$1@forums-1-dub>
Date: 3 Jun 2008 07:08:46 -0700
X-Trace: forums-1-dub 1212502126 10.22.241.152 (3 Jun 2008 07:08:46 -0700)
X-Original-Trace: 3 Jun 2008 07:08:46 -0700, vip152.sybase.com
Lines: 15
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9714
Article PK: 736845

I have this code:

choose case typeof(as_objeto.control[ll_hijo])
case Tab!
ltb_tab=as_objeto.control[ll_hijo]

But PB says:

C0008: Incompatible types in assignment: tab, userobject


What I'm doing Wrong

Best regards,
Iñaki


Millard F. Brown III Posted on 2008-06-03 17:54:00.0Z
From: "Millard F. Brown III" <millard.brown@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4845506e$1@forums-1-dub>
Subject: Re: Problem with control[] assignment
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48458538@forums-1-dub>
Date: 3 Jun 2008 10:54:00 -0700
X-Trace: forums-1-dub 1212515640 10.22.241.152 (3 Jun 2008 10:54:00 -0700)
X-Original-Trace: 3 Jun 2008 10:54:00 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9715
Article PK: 736844

Try creating a standard user object of type Tab and use that object type for
ltb_tab.

--
Regards,
Millard [TeamSybase]

"Gwydion" <gwydion@oletros.info> wrote in message
news:4845506e$1@forums-1-dub...
>I have this code:
>
> choose case typeof(as_objeto.control[ll_hijo])
> case Tab!
> ltb_tab=as_objeto.control[ll_hijo]
>
> But PB says:
>
> C0008: Incompatible types in assignment: tab, userobject
>
>
> What I'm doing Wrong
>
> Best regards,
> Iñaki