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.

DropDown Datawindow dynamic display

5 posts in DataWindow Last posting was on 2008-03-31 18:05:19.0Z
hoofr Posted on 2008-03-28 19:01:36.0Z
Sender: 44f1.47ed3fce.1804289383@sybase.com
From: hoofr
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: DropDown Datawindow dynamic display
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47ed4090.44ff.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Mar 2008 11:01:36 -0800
X-Trace: forums-1-dub 1206730896 10.22.241.41 (28 Mar 2008 11:01:36 -0800)
X-Original-Trace: 28 Mar 2008 11:01:36 -0800, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86568
Article PK: 415830

I am trying to filter or delete from a dropdown dw based on
another value in another column in the same row. I am based
on the value in the other column and after getting a
reference to the dwchild, doing
ldwc_child.DeleteRow(ll_find). This works great except it
deletes the value for all the future rows which I do not
want. How do I remove a value from the drop down just for
particular rows?


Jason 'Bug' Fenter [TeamSybase] Posted on 2008-03-28 19:08:23.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <jason.fenter@teamsybase.com>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDown Datawindow dynamic display
References: <47ed4090.44ff.1681692777@sybase.com>
In-Reply-To: <47ed4090.44ff.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47ed4227$2@forums-1-dub>
Date: 28 Mar 2008 11:08:23 -0800
X-Trace: forums-1-dub 1206731303 10.22.241.152 (28 Mar 2008 11:08:23 -0800)
X-Original-Trace: 28 Mar 2008 11:08:23 -0800, vip152.sybase.com
Lines: 12
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86569
Article PK: 415828


hoofr wrote:
> I am trying to filter or delete from a dropdown dw based on
> another value in another column in the same row. I am based
> on the value in the other column and after getting a
> reference to the dwchild, doing
> ldwc_child.DeleteRow(ll_find). This works great except it
> deletes the value for all the future rows which I do not
> want. How do I remove a value from the drop down just for
> particular rows?

Please read the thread titled "Filtering DataWindowChild", originally
posted by Jason Lipman on 3/27/2008.


hoofr Posted on 2008-03-28 19:37:06.0Z
Sender: 44f1.47ed3fce.1804289383@sybase.com
From: hoofr
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDown Datawindow dynamic display
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47ed48e2.4693.1681692777@sybase.com>
References: <47ed4227$2@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Mar 2008 11:37:06 -0800
X-Trace: forums-1-dub 1206733026 10.22.241.41 (28 Mar 2008 11:37:06 -0800)
X-Original-Trace: 28 Mar 2008 11:37:06 -0800, 10.22.241.41
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86570
Article PK: 415829

I get what you are saying. I have a grid dw. Can you "The
two copies of the column are superimposed - both the same
size and
> position." on a grid dw?

> hoofr wrote:
> > I am trying to filter or delete from a dropdown dw based
> > on another value in another column in the same row. I
> > am based on the value in the other column and after
> > getting a reference to the dwchild, doing
> > ldwc_child.DeleteRow(ll_find). This works great except
> > it deletes the value for all the future rows which I do
> > not want. How do I remove a value from the drop down
> > just for particular rows?
>
> Please read the thread titled "Filtering DataWindowChild",
> originally posted by Jason Lipman on 3/27/2008.


Mike Stoffel Posted on 2008-03-28 21:29:45.0Z
From: "Mike Stoffel" <mstoffel@ipsdelivers.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <47ed4227$2@forums-1-dub> <47ed48e2.4693.1681692777@sybase.com>
In-Reply-To: <47ed48e2.4693.1681692777@sybase.com>
Subject: Re: DropDown Datawindow dynamic display
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47ed6349@forums-1-dub>
Date: 28 Mar 2008 13:29:45 -0800
X-Trace: forums-1-dub 1206739785 10.22.241.152 (28 Mar 2008 13:29:45 -0800)
X-Original-Trace: 28 Mar 2008 13:29:45 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86571
Article PK: 415831

I use the SetDetailHeight method for Grid datawindows. Essentially the
"filter" is setting the detail row height of the dddw to zero for records
that should be filtered out.

"hoofr" wrote in message news:47ed48e2.4693.1681692777@sybase.com...
>I get what you are saying. I have a grid dw. Can you "The
> two copies of the column are superimposed - both the same
> size and
>> position." on a grid dw?
>
>
>> hoofr wrote:
>> > I am trying to filter or delete from a dropdown dw based
>> > on another value in another column in the same row. I
>> > am based on the value in the other column and after
>> > getting a reference to the dwchild, doing
>> > ldwc_child.DeleteRow(ll_find). This works great except
>> > it deletes the value for all the future rows which I do
>> > not want. How do I remove a value from the drop down
>> > just for particular rows?
>>
>> Please read the thread titled "Filtering DataWindowChild",
>> originally posted by Jason Lipman on 3/27/2008.


hoofr Posted on 2008-03-31 18:05:19.0Z
Sender: 1dbe.47f0d1bf.1804289383@sybase.com
From: hoofr
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDown Datawindow dynamic display
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47f127df.2674.1681692777@sybase.com>
References: <47ed6349@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 31 Mar 2008 10:05:19 -0800
X-Trace: forums-1-dub 1206986719 10.22.241.41 (31 Mar 2008 10:05:19 -0800)
X-Original-Trace: 31 Mar 2008 10:05:19 -0800, 10.22.241.41
Lines: 31
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86577
Article PK: 415838

I was able to create a working solution based on the
suggestions. Thanks for your help you have made me look
good.

>I use the SetDetailHeight method for Grid datawindows.
> Essentially the "filter" is setting the detail row height
> of the dddw to zero for records that should be filtered
> out.
>
> "hoofr" wrote in message
> news:47ed48e2.4693.1681692777@sybase.com... >I get what
> > you are saying. I have a grid dw. Can you "The two
> > copies of the column are superimposed - both the same
> size and >> position." on a grid dw?
> >
> >
> >> hoofr wrote:
> >> > I am trying to filter or delete from a dropdown dw
> based >> > on another value in another column in the same
> row. I >> > am based on the value in the other column and
> after >> > getting a reference to the dwchild, doing
> >> > ldwc_child.DeleteRow(ll_find). This works great
> except >> > it deletes the value for all the future rows
> which I do >> > not want. How do I remove a value from
> the drop down >> > just for particular rows?
> >>
> >> Please read the thread titled "Filtering
> DataWindowChild", >> originally posted by Jason Lipman on
> 3/27/2008.
>