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.

dropdowns in datawindow

2 posts in DataWindow Last posting was on 2008-07-18 18:53:08.0Z
Anita Posted on 2008-07-18 17:33:40.0Z
From: Anita <aheadley@nwifc.org>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: dropdowns in datawindow
Date: Fri, 18 Jul 2008 10:33:40 -0700 (PDT)
Organization: http://groups.google.com
Lines: 20
Message-ID: <a791a18c-8e4c-42fd-becc-63f178dfe69e@i36g2000prf.googlegroups.com>
NNTP-Posting-Host: 199.245.112.131
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1216402420 21149 127.0.0.1 (18 Jul 2008 17:33:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 18 Jul 2008 17:33:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i36g2000prf.googlegroups.com; posting-host=199.245.112.131; posting-account=eS2bZQoAAABJKfh4M9e0vHPvgooiHCou
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!i36g2000prf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87418
Article PK: 416675

I have an application built to be deployed as a .Net Web app.
Although I have turned on the 'enable dddw' in the configuration and
coded the dropdowns like I am used to for client/server, none of the
dropdowns are working.

Integer li_rtn, li_row

li_rtn = dw_agency.SetTransObject(SQLCA)
li_rtn = dw_agency.GetChild("agency_id", idwc_agency)
li_rtn = idwc_agency.SetTransObject(SQLCA)
li_rtn = idwc_agency.Retrieve()
li_row = dw_agency.Insertrow(0)

dw_agency.SetItemStatus(li_row,0,Primary!,NotModified!)



What am I not doing, or doing wrong?


Chris Pollach Posted on 2008-07-18 18:53:08.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <a791a18c-8e4c-42fd-becc-63f178dfe69e@i36g2000prf.googlegroups.com>
Subject: Re: dropdowns in datawindow
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4880e694@forums-1-dub>
Date: 18 Jul 2008 11:53:08 -0700
X-Trace: forums-1-dub 1216407188 10.22.241.152 (18 Jul 2008 11:53:08 -0700)
X-Original-Trace: 18 Jul 2008 11:53:08 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87419
Article PK: 416674

Anita;

Your code looks good basically.

I wonder if you just need to make sure that the DDDW's are marked for
deployment in the Project?

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

"Anita" <aheadley@nwifc.org> wrote in message
news:a791a18c-8e4c-42fd-becc-63f178dfe69e@i36g2000prf.googlegroups.com...
>I have an application built to be deployed as a .Net Web app.
> Although I have turned on the 'enable dddw' in the configuration and
> coded the dropdowns like I am used to for client/server, none of the
> dropdowns are working.
>
> Integer li_rtn, li_row
>
> li_rtn = dw_agency.SetTransObject(SQLCA)
> li_rtn = dw_agency.GetChild("agency_id", idwc_agency)
> li_rtn = idwc_agency.SetTransObject(SQLCA)
> li_rtn = idwc_agency.Retrieve()
> li_row = dw_agency.Insertrow(0)
>
> dw_agency.SetItemStatus(li_row,0,Primary!,NotModified!)
>
>
>
> What am I not doing, or doing wrong?
>
>