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.

dinamicly change DDDW

21 posts in DataWindow Last posting was on 2008-12-12 08:51:03.0Z
Tomaz Posted on 2008-12-03 13:21:34.0Z
From: "Tomaz" <kralj.soft4you@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: dinamicly change DDDW
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493687de@forums-1-dub>
Date: 3 Dec 2008 05:21:34 -0800
X-Trace: forums-1-dub 1228310494 10.22.241.152 (3 Dec 2008 05:21:34 -0800)
X-Original-Trace: 3 Dec 2008 05:21:34 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88277
Article PK: 417531

Hello!

PB 11.2

I have DW with DDDW.
Based on value in one colunm I change DDDW:
this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")

Problem is that when I change dddw I see only datacolumn value in dw column
and not display value.
When I dropdown this DDDW I see all values.
If I change DDDW back to original I see again display value.

How could I refresh display value in dw when dddw is dinamicly changed?

Regards

Tomaz


Chris Pollach Posted on 2008-12-03 13:40:24.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 36
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.3350
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49368c48$1@forums-1-dub>
Date: 3 Dec 2008 05:40:24 -0800
X-Trace: forums-1-dub 1228311624 10.22.241.152 (3 Dec 2008 05:40:24 -0800)
X-Original-Trace: 3 Dec 2008 05:40:24 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88278
Article PK: 417532

Hi Tomaz;

After changing the DDDW .. do you then perform a Retrieve on the new
DDDW to load its buffers?

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

"Tomaz" <kralj.soft4you@gmail.com> wrote in message
news:493687de@forums-1-dub...
> Hello!
>
> PB 11.2
>
> I have DW with DDDW.
> Based on value in one colunm I change DDDW:
> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>
> Problem is that when I change dddw I see only datacolumn value in dw
> column and not display value.
> When I dropdown this DDDW I see all values.
> If I change DDDW back to original I see again display value.
>
> How could I refresh display value in dw when dddw is dinamicly changed?
>
> Regards
>
> Tomaz
>


Tomaz Posted on 2008-12-03 14:03:29.0Z
From: "Tomaz" <kralj.soft4you@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493691b1$1@forums-1-dub>
Date: 3 Dec 2008 06:03:29 -0800
X-Trace: forums-1-dub 1228313009 10.22.241.152 (3 Dec 2008 06:03:29 -0800)
X-Original-Trace: 3 Dec 2008 06:03:29 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88279
Article PK: 417533

Yes!

When I dropdown this changed DDDW I see all corect value, just in dw in
which this dddw is I see only datavalues and not displaydata. Also when I
change value there is just data values displayed.

Regards!


"Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
news:49368c48$1@forums-1-dub ...

> Hi Tomaz;
>
> After changing the DDDW .. do you then perform a Retrieve on the new
> DDDW to load its buffers?
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
> news:493687de@forums-1-dub...
>> Hello!
>>
>> PB 11.2
>>
>> I have DW with DDDW.
>> Based on value in one colunm I change DDDW:
>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>
>> Problem is that when I change dddw I see only datacolumn value in dw
>> column and not display value.
>> When I dropdown this DDDW I see all values.
>> If I change DDDW back to original I see again display value.
>>
>> How could I refresh display value in dw when dddw is dinamicly changed?
>>
>> Regards
>>
>> Tomaz
>>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-12-03 14:28:42.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 59
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4936979a$1@forums-1-dub>
Date: 3 Dec 2008 06:28:42 -0800
X-Trace: forums-1-dub 1228314522 10.22.241.152 (3 Dec 2008 06:28:42 -0800)
X-Original-Trace: 3 Dec 2008 06:28:42 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88280
Article PK: 417534

Are you sure that the data value you are seeing has a corresponding display
value? If it doesn't, seeing the data value is expected.
I would also check that the data types of the data column in the DDDW and
the column in the main DW are the same so that there is no problem with
looking up the value.

"Tomaz" <kralj.soft4you@gmail.com> wrote in message
news:493691b1$1@forums-1-dub...
> Yes!
>
> When I dropdown this changed DDDW I see all corect value, just in dw in
> which this dddw is I see only datavalues and not displaydata. Also when I
> change value there is just data values displayed.
>
> Regards!
>
>
> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
> news:49368c48$1@forums-1-dub ...
>> Hi Tomaz;
>>
>> After changing the DDDW .. do you then perform a Retrieve on the new
>> DDDW to load its buffers?
>>
>> --
>> Regards ... Chris
>> ISUG - NA RUG Director
>> http://chrispollach.pbdjmagazine.com
>>
>>
>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>> news:493687de@forums-1-dub...
>>> Hello!
>>>
>>> PB 11.2
>>>
>>> I have DW with DDDW.
>>> Based on value in one colunm I change DDDW:
>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>
>>> Problem is that when I change dddw I see only datacolumn value in dw
>>> column and not display value.
>>> When I dropdown this DDDW I see all values.
>>> If I change DDDW back to original I see again display value.
>>>
>>> How could I refresh display value in dw when dddw is dinamicly changed?
>>>
>>> Regards
>>>
>>> Tomaz
>>>
>>
>>
>
>


scionyx Posted on 2008-12-03 20:25:58.0Z
From: scionyx <sfield@scionyx.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: dinamicly change DDDW
Date: Wed, 3 Dec 2008 12:25:58 -0800 (PST)
Organization: http://groups.google.com
Lines: 54
Message-ID: <6695a069-6b32-42ed-9e9d-65465c3c9f4c@i24g2000prf.googlegroups.com>
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub>
NNTP-Posting-Host: 170.104.61.146
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1228335958 7550 127.0.0.1 (3 Dec 2008 20:25:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 3 Dec 2008 20:25:58 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i24g2000prf.googlegroups.com; posting-host=170.104.61.146; posting-account=-kzySgkAAAAqb7jiNSJ1XKXlAz27meBa
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!i24g2000prf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88286
Article PK: 417540

Are we talking about data-values in mutiple rows? I thought you
couldn't really change the background dddw because it affects all
rows.

The two methods usually suggested are (A) to filter the dddw based on
the first column and set all the other dddw-rows to height=0, or (B)
have a compute column that displays the display-value over (or next
to) the dddw column.

We just implemented the latter but also had to code something in the
DropDown event:

DROPDOWN

Occurs just before the list provided by a DropDownDataWindow is
displayed. Use this event to retrieve new data for the child
DataWindow.

A DropDownDataWindow is a drop-down choice list whose data is provided
by retrieving data for another DataWindow. To create a
DropDownDataWindow, you assign the DropDownDataWindow edit style to a
column and associate it with another DataWindow that retrieves the
data for the choice list.

PowerBuilder event information
Event ID: pbm_dwndropdown

DropDown is not a standard PowerBuilder DataWindow event. To write a
script for this event, you must first define a user-defined event for
the event ID pbm_dwndropdown.

Return value

There are no special outcomes for this event. The only code is:

0 Continue processing
----------------------------
HTH - Steve


On Dec 3, 6:28 am, "Jerry Siegel [TeamSybase]"

<jNOsSPAMsiegel@yahoo!.com> wrote:
> Are you sure that the data value you are seeing has a corresponding display
> value? If it doesn't, seeing the data value is expected.
> I would also check that the data types of the data column in the DDDW and
> the column in the main DW are the same so that there is no problem with
> looking up the value.
>
> "Tomaz" <kralj.soft4...@gmail.com> wrote in message
>
> news:493691b1$1@forums-1-dub...
>
>


Tomaz Posted on 2008-12-04 07:18:48.0Z
From: "Tomaz" <kralj.soft4you@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 79
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49378458$1@forums-1-dub>
Date: 3 Dec 2008 23:18:48 -0800
X-Trace: forums-1-dub 1228375128 10.22.241.152 (3 Dec 2008 23:18:48 -0800)
X-Original-Trace: 3 Dec 2008 23:18:48 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88287
Article PK: 417541

Hi!

Yes, I'am sure that data values have coresponding display value, even when I
change data value by selection in DDDW there is only datavalue displayed.

All data value in this two DDDW are long, just display value in one is
char(10) and in second char(20). I will change this that also display value
is the same long and I will se result.

Strange is that if I change in main DW that DDDW is second DDDW then for
this second DDDW display values are shown but not again for DDDW which is
dinamicly changed.

Regards


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
sporoèilo news:4936979a$1@forums-1-dub ...

> Are you sure that the data value you are seeing has a corresponding
> display value? If it doesn't, seeing the data value is expected.
> I would also check that the data types of the data column in the DDDW and
> the column in the main DW are the same so that there is no problem with
> looking up the value.
>
> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
> news:493691b1$1@forums-1-dub...
>> Yes!
>>
>> When I dropdown this changed DDDW I see all corect value, just in dw in
>> which this dddw is I see only datavalues and not displaydata. Also when I
>> change value there is just data values displayed.
>>
>> Regards!
>>
>>
>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>> news:49368c48$1@forums-1-dub ...
>>> Hi Tomaz;
>>>
>>> After changing the DDDW .. do you then perform a Retrieve on the new
>>> DDDW to load its buffers?
>>>
>>> --
>>> Regards ... Chris
>>> ISUG - NA RUG Director
>>> http://chrispollach.pbdjmagazine.com
>>>
>>>
>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>> news:493687de@forums-1-dub...
>>>> Hello!
>>>>
>>>> PB 11.2
>>>>
>>>> I have DW with DDDW.
>>>> Based on value in one colunm I change DDDW:
>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>
>>>> Problem is that when I change dddw I see only datacolumn value in dw
>>>> column and not display value.
>>>> When I dropdown this DDDW I see all values.
>>>> If I change DDDW back to original I see again display value.
>>>>
>>>> How could I refresh display value in dw when dddw is dinamicly changed?
>>>>
>>>> Regards
>>>>
>>>> Tomaz
>>>>
>>>
>>>
>>
>>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-12-04 14:06:14.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 88
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4937e3d6$1@forums-1-dub>
Date: 4 Dec 2008 06:06:14 -0800
X-Trace: forums-1-dub 1228399574 10.22.241.152 (4 Dec 2008 06:06:14 -0800)
X-Original-Trace: 4 Dec 2008 06:06:14 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88290
Article PK: 417547

Does the second DDDW work right if you set it in the painter rather than
dynamically?

"Tomaz" <kralj.soft4you@gmail.com> wrote in message
news:49378458$1@forums-1-dub...
> Hi!
>
> Yes, I'am sure that data values have coresponding display value, even when
> I change data value by selection in DDDW there is only datavalue
> displayed.
>
> All data value in this two DDDW are long, just display value in one is
> char(10) and in second char(20). I will change this that also display
> value is the same long and I will se result.
>
> Strange is that if I change in main DW that DDDW is second DDDW then for
> this second DDDW display values are shown but not again for DDDW which is
> dinamicly changed.
>
> Regards
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
> sporoèilo news:4936979a$1@forums-1-dub ...
>> Are you sure that the data value you are seeing has a corresponding
>> display value? If it doesn't, seeing the data value is expected.
>> I would also check that the data types of the data column in the DDDW and
>> the column in the main DW are the same so that there is no problem with
>> looking up the value.
>>
>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>> news:493691b1$1@forums-1-dub...
>>> Yes!
>>>
>>> When I dropdown this changed DDDW I see all corect value, just in dw in
>>> which this dddw is I see only datavalues and not displaydata. Also when
>>> I change value there is just data values displayed.
>>>
>>> Regards!
>>>
>>>
>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>> news:49368c48$1@forums-1-dub ...
>>>> Hi Tomaz;
>>>>
>>>> After changing the DDDW .. do you then perform a Retrieve on the new
>>>> DDDW to load its buffers?
>>>>
>>>> --
>>>> Regards ... Chris
>>>> ISUG - NA RUG Director
>>>> http://chrispollach.pbdjmagazine.com
>>>>
>>>>
>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>> news:493687de@forums-1-dub...
>>>>> Hello!
>>>>>
>>>>> PB 11.2
>>>>>
>>>>> I have DW with DDDW.
>>>>> Based on value in one colunm I change DDDW:
>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>
>>>>> Problem is that when I change dddw I see only datacolumn value in dw
>>>>> column and not display value.
>>>>> When I dropdown this DDDW I see all values.
>>>>> If I change DDDW back to original I see again display value.
>>>>>
>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>> changed?
>>>>>
>>>>> Regards
>>>>>
>>>>> Tomaz
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Toma¾ Kralj Posted on 2008-12-04 14:56:08.0Z
From: "Toma¾ Kralj" <tomaz@soft4you-sp.si>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 97
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.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4937ef88@forums-1-dub>
Date: 4 Dec 2008 06:56:08 -0800
X-Trace: forums-1-dub 1228402568 10.22.241.152 (4 Dec 2008 06:56:08 -0800)
X-Original-Trace: 4 Dec 2008 06:56:08 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88293
Article PK: 417544

Yes!

Regards


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
sporoèilo news:4937e3d6$1@forums-1-dub ...

> Does the second DDDW work right if you set it in the painter rather than
> dynamically?
>
> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
> news:49378458$1@forums-1-dub...
>> Hi!
>>
>> Yes, I'am sure that data values have coresponding display value, even
>> when I change data value by selection in DDDW there is only datavalue
>> displayed.
>>
>> All data value in this two DDDW are long, just display value in one is
>> char(10) and in second char(20). I will change this that also display
>> value is the same long and I will se result.
>>
>> Strange is that if I change in main DW that DDDW is second DDDW then for
>> this second DDDW display values are shown but not again for DDDW which is
>> dinamicly changed.
>>
>> Regards
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>> sporoèilo news:4936979a$1@forums-1-dub ...
>>> Are you sure that the data value you are seeing has a corresponding
>>> display value? If it doesn't, seeing the data value is expected.
>>> I would also check that the data types of the data column in the DDDW
>>> and the column in the main DW are the same so that there is no problem
>>> with looking up the value.
>>>
>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>> news:493691b1$1@forums-1-dub...
>>>> Yes!
>>>>
>>>> When I dropdown this changed DDDW I see all corect value, just in dw in
>>>> which this dddw is I see only datavalues and not displaydata. Also when
>>>> I change value there is just data values displayed.
>>>>
>>>> Regards!
>>>>
>>>>
>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>> news:49368c48$1@forums-1-dub ...
>>>>> Hi Tomaz;
>>>>>
>>>>> After changing the DDDW .. do you then perform a Retrieve on the
>>>>> new DDDW to load its buffers?
>>>>>
>>>>> --
>>>>> Regards ... Chris
>>>>> ISUG - NA RUG Director
>>>>> http://chrispollach.pbdjmagazine.com
>>>>>
>>>>>
>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>> news:493687de@forums-1-dub...
>>>>>> Hello!
>>>>>>
>>>>>> PB 11.2
>>>>>>
>>>>>> I have DW with DDDW.
>>>>>> Based on value in one colunm I change DDDW:
>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>
>>>>>> Problem is that when I change dddw I see only datacolumn value in dw
>>>>>> column and not display value.
>>>>>> When I dropdown this DDDW I see all values.
>>>>>> If I change DDDW back to original I see again display value.
>>>>>>
>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>> changed?
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Tomaz
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-12-04 15:47:38.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 103
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4937fb9a@forums-1-dub>
Date: 4 Dec 2008 07:47:38 -0800
X-Trace: forums-1-dub 1228405658 10.22.241.152 (4 Dec 2008 07:47:38 -0800)
X-Original-Trace: 4 Dec 2008 07:47:38 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88294
Article PK: 417548

Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).

"Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
news:4937ef88@forums-1-dub...
> Yes!
>
> Regards
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
> sporoèilo news:4937e3d6$1@forums-1-dub ...
>> Does the second DDDW work right if you set it in the painter rather than
>> dynamically?
>>
>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>> news:49378458$1@forums-1-dub...
>>> Hi!
>>>
>>> Yes, I'am sure that data values have coresponding display value, even
>>> when I change data value by selection in DDDW there is only datavalue
>>> displayed.
>>>
>>> All data value in this two DDDW are long, just display value in one is
>>> char(10) and in second char(20). I will change this that also display
>>> value is the same long and I will se result.
>>>
>>> Strange is that if I change in main DW that DDDW is second DDDW then for
>>> this second DDDW display values are shown but not again for DDDW which
>>> is dinamicly changed.
>>>
>>> Regards
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>> Are you sure that the data value you are seeing has a corresponding
>>>> display value? If it doesn't, seeing the data value is expected.
>>>> I would also check that the data types of the data column in the DDDW
>>>> and the column in the main DW are the same so that there is no problem
>>>> with looking up the value.
>>>>
>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>> news:493691b1$1@forums-1-dub...
>>>>> Yes!
>>>>>
>>>>> When I dropdown this changed DDDW I see all corect value, just in dw
>>>>> in which this dddw is I see only datavalues and not displaydata. Also
>>>>> when I change value there is just data values displayed.
>>>>>
>>>>> Regards!
>>>>>
>>>>>
>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>> news:49368c48$1@forums-1-dub ...
>>>>>> Hi Tomaz;
>>>>>>
>>>>>> After changing the DDDW .. do you then perform a Retrieve on the
>>>>>> new DDDW to load its buffers?
>>>>>>
>>>>>> --
>>>>>> Regards ... Chris
>>>>>> ISUG - NA RUG Director
>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>
>>>>>>
>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>> news:493687de@forums-1-dub...
>>>>>>> Hello!
>>>>>>>
>>>>>>> PB 11.2
>>>>>>>
>>>>>>> I have DW with DDDW.
>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>
>>>>>>> Problem is that when I change dddw I see only datacolumn value in dw
>>>>>>> column and not display value.
>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>
>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>> changed?
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Tomaz
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Chris Werner Posted on 2008-12-04 15:49:15.0Z
From: "Chris Werner" <cwAT{PleaseNoSpam}f-s.de>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 116
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4937fbfb$1@forums-1-dub>
Date: 4 Dec 2008 07:49:15 -0800
X-Trace: forums-1-dub 1228405755 10.22.241.152 (4 Dec 2008 07:49:15 -0800)
X-Original-Trace: 4 Dec 2008 07:49:15 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88295
Article PK: 417549

Calling groupCalc() after the modifications may also
worth a try.

HTH

Chris Werner
f+s software gmbh


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
Newsbeitrag news:4937fb9a@forums-1-dub...

> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>
> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
> news:4937ef88@forums-1-dub...
>> Yes!
>>
>> Regards
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>> Does the second DDDW work right if you set it in the painter rather than
>>> dynamically?
>>>
>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>> news:49378458$1@forums-1-dub...
>>>> Hi!
>>>>
>>>> Yes, I'am sure that data values have coresponding display value, even
>>>> when I change data value by selection in DDDW there is only datavalue
>>>> displayed.
>>>>
>>>> All data value in this two DDDW are long, just display value in one is
>>>> char(10) and in second char(20). I will change this that also display
>>>> value is the same long and I will se result.
>>>>
>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>> for this second DDDW display values are shown but not again for DDDW
>>>> which is dinamicly changed.
>>>>
>>>> Regards
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>> I would also check that the data types of the data column in the DDDW
>>>>> and the column in the main DW are the same so that there is no problem
>>>>> with looking up the value.
>>>>>
>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>> news:493691b1$1@forums-1-dub...
>>>>>> Yes!
>>>>>>
>>>>>> When I dropdown this changed DDDW I see all corect value, just in dw
>>>>>> in which this dddw is I see only datavalues and not displaydata. Also
>>>>>> when I change value there is just data values displayed.
>>>>>>
>>>>>> Regards!
>>>>>>
>>>>>>
>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>> Hi Tomaz;
>>>>>>>
>>>>>>> After changing the DDDW .. do you then perform a Retrieve on the
>>>>>>> new DDDW to load its buffers?
>>>>>>>
>>>>>>> --
>>>>>>> Regards ... Chris
>>>>>>> ISUG - NA RUG Director
>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>
>>>>>>>
>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>> news:493687de@forums-1-dub...
>>>>>>>> Hello!
>>>>>>>>
>>>>>>>> PB 11.2
>>>>>>>>
>>>>>>>> I have DW with DDDW.
>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>
>>>>>>>> Problem is that when I change dddw I see only datacolumn value in
>>>>>>>> dw column and not display value.
>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>
>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>> changed?
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> Tomaz
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-12-04 15:58:45.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 122
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4937fe35$1@forums-1-dub>
Date: 4 Dec 2008 07:58:45 -0800
X-Trace: forums-1-dub 1228406325 10.22.241.152 (4 Dec 2008 07:58:45 -0800)
X-Original-Trace: 4 Dec 2008 07:58:45 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88297
Article PK: 417551

http://en.wikipedia.org/wiki/Voodoo_programming <BG>

"Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
news:4937fbfb$1@forums-1-dub...
> Calling groupCalc() after the modifications may also
> worth a try.
>
> HTH
>
> Chris Werner
> f+s software gmbh
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
> Newsbeitrag news:4937fb9a@forums-1-dub...
>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>
>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>> news:4937ef88@forums-1-dub...
>>> Yes!
>>>
>>> Regards
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>> Does the second DDDW work right if you set it in the painter rather
>>>> than dynamically?
>>>>
>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>> news:49378458$1@forums-1-dub...
>>>>> Hi!
>>>>>
>>>>> Yes, I'am sure that data values have coresponding display value, even
>>>>> when I change data value by selection in DDDW there is only datavalue
>>>>> displayed.
>>>>>
>>>>> All data value in this two DDDW are long, just display value in one is
>>>>> char(10) and in second char(20). I will change this that also display
>>>>> value is the same long and I will se result.
>>>>>
>>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>>> for this second DDDW display values are shown but not again for DDDW
>>>>> which is dinamicly changed.
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>>> I would also check that the data types of the data column in the DDDW
>>>>>> and the column in the main DW are the same so that there is no
>>>>>> problem with looking up the value.
>>>>>>
>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>> Yes!
>>>>>>>
>>>>>>> When I dropdown this changed DDDW I see all corect value, just in dw
>>>>>>> in which this dddw is I see only datavalues and not displaydata.
>>>>>>> Also when I change value there is just data values displayed.
>>>>>>>
>>>>>>> Regards!
>>>>>>>
>>>>>>>
>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>> Hi Tomaz;
>>>>>>>>
>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on the
>>>>>>>> new DDDW to load its buffers?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards ... Chris
>>>>>>>> ISUG - NA RUG Director
>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>
>>>>>>>>
>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>> Hello!
>>>>>>>>>
>>>>>>>>> PB 11.2
>>>>>>>>>
>>>>>>>>> I have DW with DDDW.
>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>
>>>>>>>>> Problem is that when I change dddw I see only datacolumn value in
>>>>>>>>> dw column and not display value.
>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>
>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>> changed?
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> Tomaz
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


"Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_ Posted on 2008-12-04 16:04:20.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_@_teamsybase.com>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: dinamicly change DDDW
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub>
In-Reply-To: <4937fe35$1@forums-1-dub>
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: <4937ff84$1@forums-1-dub>
Date: 4 Dec 2008 08:04:20 -0800
X-Trace: forums-1-dub 1228406660 10.22.241.152 (4 Dec 2008 08:04:20 -0800)
X-Original-Trace: 4 Dec 2008 08:04:20 -0800, vip152.sybase.com
Lines: 122
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88299
Article PK: 417556

But when it takes:
m_menu.SetRedraw (TRUE)
to make a dynamic menu display properly, things like this seem
reasonable. :)

Jerry Siegel [TeamSybase] wrote:
> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>
> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
> news:4937fbfb$1@forums-1-dub...
>> Calling groupCalc() after the modifications may also
>> worth a try.
>>
>> HTH
>>
>> Chris Werner
>> f+s software gmbh
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>
>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>> news:4937ef88@forums-1-dub...
>>>> Yes!
>>>>
>>>> Regards
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>> than dynamically?
>>>>>
>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>> news:49378458$1@forums-1-dub...
>>>>>> Hi!
>>>>>>
>>>>>> Yes, I'am sure that data values have coresponding display value, even
>>>>>> when I change data value by selection in DDDW there is only datavalue
>>>>>> displayed.
>>>>>>
>>>>>> All data value in this two DDDW are long, just display value in one is
>>>>>> char(10) and in second char(20). I will change this that also display
>>>>>> value is the same long and I will se result.
>>>>>>
>>>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>>>> for this second DDDW display values are shown but not again for DDDW
>>>>>> which is dinamicly changed.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>>
>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>>>> I would also check that the data types of the data column in the DDDW
>>>>>>> and the column in the main DW are the same so that there is no
>>>>>>> problem with looking up the value.
>>>>>>>
>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>> Yes!
>>>>>>>>
>>>>>>>> When I dropdown this changed DDDW I see all corect value, just in dw
>>>>>>>> in which this dddw is I see only datavalues and not displaydata.
>>>>>>>> Also when I change value there is just data values displayed.
>>>>>>>>
>>>>>>>> Regards!
>>>>>>>>
>>>>>>>>
>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>> Hi Tomaz;
>>>>>>>>>
>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on the
>>>>>>>>> new DDDW to load its buffers?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards ... Chris
>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>> Hello!
>>>>>>>>>>
>>>>>>>>>> PB 11.2
>>>>>>>>>>
>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>
>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value in
>>>>>>>>>> dw column and not display value.
>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>
>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>> changed?
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> Tomaz
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>


Tomaz Kralj Posted on 2008-12-05 05:55:43.0Z
From: "Tomaz Kralj" <tomaz@soft4you-sp.si>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4937ff84$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 130
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.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4938c25f$1@forums-1-dub>
Date: 4 Dec 2008 21:55:43 -0800
X-Trace: forums-1-dub 1228456543 10.22.241.152 (4 Dec 2008 21:55:43 -0800)
X-Original-Trace: 4 Dec 2008 21:55:43 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88304
Article PK: 417557

I tried with SetRedraw(TRUE) but nothing is changed.
regards


"Jason 'Bug' Fenter [TeamSybase]"
<NO_SPAMMING_jason.fenter_@_teamsybase.com> je napisal v sporocilo
news:4937ff84$1@forums-1-dub ...

> But when it takes:
> m_menu.SetRedraw (TRUE)
> to make a dynamic menu display properly, things like this seem reasonable.
> :)
>
>
>
> Jerry Siegel [TeamSybase] wrote:
>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>
>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>> news:4937fbfb$1@forums-1-dub...
>>> Calling groupCalc() after the modifications may also
>>> worth a try.
>>>
>>> HTH
>>>
>>> Chris Werner
>>> f+s software gmbh
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>>
>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>> news:4937ef88@forums-1-dub...
>>>>> Yes!
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>>> than dynamically?
>>>>>>
>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>> news:49378458$1@forums-1-dub...
>>>>>>> Hi!
>>>>>>>
>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>> datavalue displayed.
>>>>>>>
>>>>>>> All data value in this two DDDW are long, just display value in one
>>>>>>> is char(10) and in second char(20). I will change this that also
>>>>>>> display value is the same long and I will se result.
>>>>>>>
>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>>>>> for this second DDDW display values are shown but not again for DDDW
>>>>>>> which is dinamicly changed.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>> DDDW and the column in the main DW are the same so that there is no
>>>>>>>> problem with looking up the value.
>>>>>>>>
>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>> Yes!
>>>>>>>>>
>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just in
>>>>>>>>> dw in which this dddw is I see only datavalues and not
>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>> displayed.
>>>>>>>>>
>>>>>>>>> Regards!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>
>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Regards ... Chris
>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>> Hello!
>>>>>>>>>>>
>>>>>>>>>>> PB 11.2
>>>>>>>>>>>
>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>
>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value
>>>>>>>>>>> in dw column and not display value.
>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>
>>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>>> changed?
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>>
>>>>>>>>>>> Tomaz
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>


Chris Werner Posted on 2008-12-05 09:17:49.0Z
From: "Chris Werner" <cwAT{PleaseNoSpam}f-s.de>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 144
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4938f1bd$1@forums-1-dub>
Date: 5 Dec 2008 01:17:49 -0800
X-Trace: forums-1-dub 1228468669 10.22.241.152 (5 Dec 2008 01:17:49 -0800)
X-Original-Trace: 5 Dec 2008 01:17:49 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88305
Article PK: 417558

Hi Jerry,

if I remember correctly I learned this programming technique
here in the forum simulteanously to the important computer
english phrase "Waving a dead chicken ...". While I never
realized why it isn't a "bloody chicken" (which would be much
more colorful) I made a lot of improvements in the mastery
of Vodoo programming over the last 10 years. BTW I often
wonder if the Name "Techwave" has some Vodoo impact
too? Unfortunately I never had the luck to attend a Techwave
but maybe that saved the life of at least one chicken every year. ;-)

Chris





"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
Newsbeitrag news:4937fe35$1@forums-1-dub...

> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>
> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
> news:4937fbfb$1@forums-1-dub...
>> Calling groupCalc() after the modifications may also
>> worth a try.
>>
>> HTH
>>
>> Chris Werner
>> f+s software gmbh
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>
>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>> news:4937ef88@forums-1-dub...
>>>> Yes!
>>>>
>>>> Regards
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>> than dynamically?
>>>>>
>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>> news:49378458$1@forums-1-dub...
>>>>>> Hi!
>>>>>>
>>>>>> Yes, I'am sure that data values have coresponding display value, even
>>>>>> when I change data value by selection in DDDW there is only datavalue
>>>>>> displayed.
>>>>>>
>>>>>> All data value in this two DDDW are long, just display value in one
>>>>>> is char(10) and in second char(20). I will change this that also
>>>>>> display value is the same long and I will se result.
>>>>>>
>>>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>>>> for this second DDDW display values are shown but not again for DDDW
>>>>>> which is dinamicly changed.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>>
>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>>>> I would also check that the data types of the data column in the
>>>>>>> DDDW and the column in the main DW are the same so that there is no
>>>>>>> problem with looking up the value.
>>>>>>>
>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>> Yes!
>>>>>>>>
>>>>>>>> When I dropdown this changed DDDW I see all corect value, just in
>>>>>>>> dw in which this dddw is I see only datavalues and not displaydata.
>>>>>>>> Also when I change value there is just data values displayed.
>>>>>>>>
>>>>>>>> Regards!
>>>>>>>>
>>>>>>>>
>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>> Hi Tomaz;
>>>>>>>>>
>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards ... Chris
>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>> Hello!
>>>>>>>>>>
>>>>>>>>>> PB 11.2
>>>>>>>>>>
>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>
>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value in
>>>>>>>>>> dw column and not display value.
>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>
>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>> changed?
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> Tomaz
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-12-05 13:50:31.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 151
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493931a7$1@forums-1-dub>
Date: 5 Dec 2008 05:50:31 -0800
X-Trace: forums-1-dub 1228485031 10.22.241.152 (5 Dec 2008 05:50:31 -0800)
X-Original-Trace: 5 Dec 2008 05:50:31 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88310
Article PK: 417563

ROFLMAO!

"Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
news:4938f1bd$1@forums-1-dub...
> Hi Jerry,
>
> if I remember correctly I learned this programming technique
> here in the forum simulteanously to the important computer
> english phrase "Waving a dead chicken ...". While I never
> realized why it isn't a "bloody chicken" (which would be much
> more colorful) I made a lot of improvements in the mastery
> of Vodoo programming over the last 10 years. BTW I often
> wonder if the Name "Techwave" has some Vodoo impact
> too? Unfortunately I never had the luck to attend a Techwave
> but maybe that saved the life of at least one chicken every year. ;-)
>
> Chris
>
>
>
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
> Newsbeitrag news:4937fe35$1@forums-1-dub...
>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>
>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>> news:4937fbfb$1@forums-1-dub...
>>> Calling groupCalc() after the modifications may also
>>> worth a try.
>>>
>>> HTH
>>>
>>> Chris Werner
>>> f+s software gmbh
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>>
>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>> news:4937ef88@forums-1-dub...
>>>>> Yes!
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>>> than dynamically?
>>>>>>
>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>> news:49378458$1@forums-1-dub...
>>>>>>> Hi!
>>>>>>>
>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>> datavalue displayed.
>>>>>>>
>>>>>>> All data value in this two DDDW are long, just display value in one
>>>>>>> is char(10) and in second char(20). I will change this that also
>>>>>>> display value is the same long and I will se result.
>>>>>>>
>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW then
>>>>>>> for this second DDDW display values are shown but not again for DDDW
>>>>>>> which is dinamicly changed.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>>> sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>> Are you sure that the data value you are seeing has a corresponding
>>>>>>>> display value? If it doesn't, seeing the data value is expected.
>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>> DDDW and the column in the main DW are the same so that there is no
>>>>>>>> problem with looking up the value.
>>>>>>>>
>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>> Yes!
>>>>>>>>>
>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just in
>>>>>>>>> dw in which this dddw is I see only datavalues and not
>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>> displayed.
>>>>>>>>>
>>>>>>>>> Regards!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>
>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Regards ... Chris
>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>> Hello!
>>>>>>>>>>>
>>>>>>>>>>> PB 11.2
>>>>>>>>>>>
>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>
>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value
>>>>>>>>>>> in dw column and not display value.
>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>
>>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>>> changed?
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>>
>>>>>>>>>>> Tomaz
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Tomaz Posted on 2008-12-10 11:52:40.0Z
From: "Tomaz" <kralj.soft4you@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 170
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493fad88$1@forums-1-dub>
Date: 10 Dec 2008 03:52:40 -0800
X-Trace: forums-1-dub 1228909960 10.22.241.152 (10 Dec 2008 03:52:40 -0800)
X-Original-Trace: 10 Dec 2008 03:52:40 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88370
Article PK: 417623

I can't believe that nobody use this technique before?



Regards









"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
sporoèilo news:493931a7$1@forums-1-dub ...

> ROFLMAO!
>
> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
> news:4938f1bd$1@forums-1-dub...
>> Hi Jerry,
>>
>> if I remember correctly I learned this programming technique
>> here in the forum simulteanously to the important computer
>> english phrase "Waving a dead chicken ...". While I never
>> realized why it isn't a "bloody chicken" (which would be much
>> more colorful) I made a lot of improvements in the mastery
>> of Vodoo programming over the last 10 years. BTW I often
>> wonder if the Name "Techwave" has some Vodoo impact
>> too? Unfortunately I never had the luck to attend a Techwave
>> but maybe that saved the life of at least one chicken every year. ;-)
>>
>> Chris
>>
>>
>>
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>
>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>> news:4937fbfb$1@forums-1-dub...
>>>> Calling groupCalc() after the modifications may also
>>>> worth a try.
>>>>
>>>> HTH
>>>>
>>>> Chris Werner
>>>> f+s software gmbh
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>>>
>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>> news:4937ef88@forums-1-dub...
>>>>>> Yes!
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>>
>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>>>> than dynamically?
>>>>>>>
>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>> datavalue displayed.
>>>>>>>>
>>>>>>>> All data value in this two DDDW are long, just display value in one
>>>>>>>> is char(10) and in second char(20). I will change this that also
>>>>>>>> display value is the same long and I will se result.
>>>>>>>>
>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>>
>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>> v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>> corresponding display value? If it doesn't, seeing the data value
>>>>>>>>> is expected.
>>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>>> DDDW and the column in the main DW are the same so that there is
>>>>>>>>> no problem with looking up the value.
>>>>>>>>>
>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>> Yes!
>>>>>>>>>>
>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just in
>>>>>>>>>> dw in which this dddw is I see only datavalues and not
>>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>>> displayed.
>>>>>>>>>>
>>>>>>>>>> Regards!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>
>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>> Hello!
>>>>>>>>>>>>
>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>
>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>
>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value
>>>>>>>>>>>> in dw column and not display value.
>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>
>>>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>>>> changed?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>>
>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Chris Werner Posted on 2008-12-10 14:08:03.0Z
From: "Chris Werner" <cwAT{PleaseNoSpam}f-s.de>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub> <493fad88$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 190
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493fcd43@forums-1-dub>
Date: 10 Dec 2008 06:08:03 -0800
X-Trace: forums-1-dub 1228918083 10.22.241.152 (10 Dec 2008 06:08:03 -0800)
X-Original-Trace: 10 Dec 2008 06:08:03 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88371
Article PK: 417625

Hi Tomaz,

I don't know wether this technique is widespread. The question is,
what do you want to achieve using it? Maybe there's another way
to solve that.
BTW, you have tried setRedraw(true), Have you tried groupCalc()
too? It's at least as Vodoo as setRedraw(true) so I think it's worth
a try.


Chris Werner
f+s software gmbh



"Tomaz" <kralj.soft4you@gmail.com> schrieb im Newsbeitrag
news:493fad88$1@forums-1-dub...

>I can't believe that nobody use this technique before?
>
>
>
> Regards
>
>
>
>
>
>
>
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
> sporoèilo news:493931a7$1@forums-1-dub ...
>> ROFLMAO!
>>
>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>> news:4938f1bd$1@forums-1-dub...
>>> Hi Jerry,
>>>
>>> if I remember correctly I learned this programming technique
>>> here in the forum simulteanously to the important computer
>>> english phrase "Waving a dead chicken ...". While I never
>>> realized why it isn't a "bloody chicken" (which would be much
>>> more colorful) I made a lot of improvements in the mastery
>>> of Vodoo programming over the last 10 years. BTW I often
>>> wonder if the Name "Techwave" has some Vodoo impact
>>> too? Unfortunately I never had the luck to attend a Techwave
>>> but maybe that saved the life of at least one chicken every year. ;-)
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>>
>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>> news:4937fbfb$1@forums-1-dub...
>>>>> Calling groupCalc() after the modifications may also
>>>>> worth a try.
>>>>>
>>>>> HTH
>>>>>
>>>>> Chris Werner
>>>>> f+s software gmbh
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>>>>
>>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>>> news:4937ef88@forums-1-dub...
>>>>>>> Yes!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>>>>> than dynamically?
>>>>>>>>
>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>>> datavalue displayed.
>>>>>>>>>
>>>>>>>>> All data value in this two DDDW are long, just display value in
>>>>>>>>> one is char(10) and in second char(20). I will change this that
>>>>>>>>> also display value is the same long and I will se result.
>>>>>>>>>
>>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>>> v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>>> corresponding display value? If it doesn't, seeing the data value
>>>>>>>>>> is expected.
>>>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>>>> DDDW and the column in the main DW are the same so that there is
>>>>>>>>>> no problem with looking up the value.
>>>>>>>>>>
>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>>> Yes!
>>>>>>>>>>>
>>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just
>>>>>>>>>>> in dw in which this dddw is I see only datavalues and not
>>>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>>>> displayed.
>>>>>>>>>>>
>>>>>>>>>>> Regards!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>>
>>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>>> Hello!
>>>>>>>>>>>>>
>>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>>>
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>>
>>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value
>>>>>>>>>>>>> in dw column and not display value.
>>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>>
>>>>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>>>>> changed?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Toma¾ Kralj Posted on 2008-12-11 16:17:55.0Z
From: "Toma¾ Kralj" <tomaz@soft4you-sp.si>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub> <493fad88$1@forums-1-dub> <493fcd43@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 211
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.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49413d33@forums-1-dub>
Date: 11 Dec 2008 08:17:55 -0800
X-Trace: forums-1-dub 1229012275 10.22.241.152 (11 Dec 2008 08:17:55 -0800)
X-Original-Trace: 11 Dec 2008 08:17:55 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88380
Article PK: 417636

Hi Chris,

I tried with Setredraw() and GroupCalc(). Result is the same.

I seles orders and their articles. When I order article I want to show user
in DDDW just Unit of measure which are for this article. This works with
retrieve of DDDW when new article is entered. When I order service I want to
show in this DDDW general Unit of measure. And this Unit of measure are in
diferent data object. So I need to change DDDW. There is no option to put
everything in one DDDW.

Regards

Tomaz


"Chris Werner" <cwAT{PleaseNoSpam}f-s.de> je napisal v sporoèilo
news:493fcd43@forums-1-dub ...

> Hi Tomaz,
>
> I don't know wether this technique is widespread. The question is,
> what do you want to achieve using it? Maybe there's another way
> to solve that.
> BTW, you have tried setRedraw(true), Have you tried groupCalc()
> too? It's at least as Vodoo as setRedraw(true) so I think it's worth
> a try.
>
>
> Chris Werner
> f+s software gmbh
>
>
>
> "Tomaz" <kralj.soft4you@gmail.com> schrieb im Newsbeitrag
> news:493fad88$1@forums-1-dub...
>>I can't believe that nobody use this technique before?
>>
>>
>>
>> Regards
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>> sporoèilo news:493931a7$1@forums-1-dub ...
>>> ROFLMAO!
>>>
>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>> news:4938f1bd$1@forums-1-dub...
>>>> Hi Jerry,
>>>>
>>>> if I remember correctly I learned this programming technique
>>>> here in the forum simulteanously to the important computer
>>>> english phrase "Waving a dead chicken ...". While I never
>>>> realized why it isn't a "bloody chicken" (which would be much
>>>> more colorful) I made a lot of improvements in the mastery
>>>> of Vodoo programming over the last 10 years. BTW I often
>>>> wonder if the Name "Techwave" has some Vodoo impact
>>>> too? Unfortunately I never had the luck to attend a Techwave
>>>> but maybe that saved the life of at least one chicken every year. ;-)
>>>>
>>>> Chris
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>>>
>>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>>> news:4937fbfb$1@forums-1-dub...
>>>>>> Calling groupCalc() after the modifications may also
>>>>>> worth a try.
>>>>>>
>>>>>> HTH
>>>>>>
>>>>>> Chris Werner
>>>>>> f+s software gmbh
>>>>>>
>>>>>>
>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>>>> Try changing columns after setting the DDDW or maybe
>>>>>>> SetRedraw(TRUE).
>>>>>>>
>>>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>>>> news:4937ef88@forums-1-dub...
>>>>>>>> Yes!
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>>
>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>> v sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>>>> Does the second DDDW work right if you set it in the painter
>>>>>>>>> rather than dynamically?
>>>>>>>>>
>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>>>> datavalue displayed.
>>>>>>>>>>
>>>>>>>>>> All data value in this two DDDW are long, just display value in
>>>>>>>>>> one is char(10) and in second char(20). I will change this that
>>>>>>>>>> also display value is the same long and I will se result.
>>>>>>>>>>
>>>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je
>>>>>>>>>> napisal v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>>>> corresponding display value? If it doesn't, seeing the data
>>>>>>>>>>> value is expected.
>>>>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>>>>> DDDW and the column in the main DW are the same so that there is
>>>>>>>>>>> no problem with looking up the value.
>>>>>>>>>>>
>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>>>> Yes!
>>>>>>>>>>>>
>>>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just
>>>>>>>>>>>> in dw in which this dddw is I see only datavalues and not
>>>>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>>>>> displayed.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v
>>>>>>>>>>>> sporoèilo news:49368c48$1@forums-1-dub ...
>>>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>>>
>>>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve
>>>>>>>>>>>>> on the new DDDW to load its buffers?
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>>>> Hello!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn
>>>>>>>>>>>>>> value in dw column and not display value.
>>>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> How could I refresh display value in dw when dddw is
>>>>>>>>>>>>>> dinamicly changed?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Chris Werner Posted on 2008-12-12 08:51:03.0Z
From: "Chris Werner" <cwAT{PleaseNoSpam}f-s.de>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub> <493fad88$1@forums-1-dub> <493fcd43@forums-1-dub> <49413d33@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 232
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <494225f7$1@forums-1-dub>
Date: 12 Dec 2008 00:51:03 -0800
X-Trace: forums-1-dub 1229071863 10.22.241.152 (12 Dec 2008 00:51:03 -0800)
X-Original-Trace: 12 Dec 2008 00:51:03 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88384
Article PK: 417637

Hi Tomaz,

maybe exporting the three datawindows (the main and the two dddw)
and positing them here together with some copy'n paste generated
source code can help us to find a mistake there. Another (very
general) idea is to check if you are on a recent build of PB 11 and
there is the proper set of PB runtime DLLs loaded.
A third approach if nothing helps is always to isolate the problem and
see if it works then. Make a window with a very simple datawindow
and two DDDWs possible for it, insert a row, change the DDDW
and look if that works. It it doesn't you could raise a case in Sybase
Case Express. But if it works there must be a problem in your actual
development.

Chris Werner
f+s software gmbh

"Toma¾ Kralj" <tomaz@soft4you-sp.si> schrieb im Newsbeitrag
news:49413d33@forums-1-dub...

> Hi Chris,
>
> I tried with Setredraw() and GroupCalc(). Result is the same.
>
> I seles orders and their articles. When I order article I want to show
> user in DDDW just Unit of measure which are for this article. This works
> with retrieve of DDDW when new article is entered. When I order service I
> want to show in this DDDW general Unit of measure. And this Unit of
> measure are in diferent data object. So I need to change DDDW. There is no
> option to put everything in one DDDW.
>
> Regards
>
> Tomaz
>
>
> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> je napisal v sporoèilo
> news:493fcd43@forums-1-dub ...
>> Hi Tomaz,
>>
>> I don't know wether this technique is widespread. The question is,
>> what do you want to achieve using it? Maybe there's another way
>> to solve that.
>> BTW, you have tried setRedraw(true), Have you tried groupCalc()
>> too? It's at least as Vodoo as setRedraw(true) so I think it's worth
>> a try.
>>
>>
>> Chris Werner
>> f+s software gmbh
>>
>>
>>
>> "Tomaz" <kralj.soft4you@gmail.com> schrieb im Newsbeitrag
>> news:493fad88$1@forums-1-dub...
>>>I can't believe that nobody use this technique before?
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>> sporoèilo news:493931a7$1@forums-1-dub ...
>>>> ROFLMAO!
>>>>
>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>> news:4938f1bd$1@forums-1-dub...
>>>>> Hi Jerry,
>>>>>
>>>>> if I remember correctly I learned this programming technique
>>>>> here in the forum simulteanously to the important computer
>>>>> english phrase "Waving a dead chicken ...". While I never
>>>>> realized why it isn't a "bloody chicken" (which would be much
>>>>> more colorful) I made a lot of improvements in the mastery
>>>>> of Vodoo programming over the last 10 years. BTW I often
>>>>> wonder if the Name "Techwave" has some Vodoo impact
>>>>> too? Unfortunately I never had the luck to attend a Techwave
>>>>> but maybe that saved the life of at least one chicken every year. ;-)
>>>>>
>>>>> Chris
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>>>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>>>>
>>>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>>>> news:4937fbfb$1@forums-1-dub...
>>>>>>> Calling groupCalc() after the modifications may also
>>>>>>> worth a try.
>>>>>>>
>>>>>>> HTH
>>>>>>>
>>>>>>> Chris Werner
>>>>>>> f+s software gmbh
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>>>>> Try changing columns after setting the DDDW or maybe
>>>>>>>> SetRedraw(TRUE).
>>>>>>>>
>>>>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>>>>> news:4937ef88@forums-1-dub...
>>>>>>>>> Yes!
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>>> v sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>>>>> Does the second DDDW work right if you set it in the painter
>>>>>>>>>> rather than dynamically?
>>>>>>>>>>
>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>>>>> Hi!
>>>>>>>>>>>
>>>>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>>>>> datavalue displayed.
>>>>>>>>>>>
>>>>>>>>>>> All data value in this two DDDW are long, just display value in
>>>>>>>>>>> one is char(10) and in second char(20). I will change this that
>>>>>>>>>>> also display value is the same long and I will se result.
>>>>>>>>>>>
>>>>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je
>>>>>>>>>>> napisal v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>>>>> corresponding display value? If it doesn't, seeing the data
>>>>>>>>>>>> value is expected.
>>>>>>>>>>>> I would also check that the data types of the data column in
>>>>>>>>>>>> the DDDW and the column in the main DW are the same so that
>>>>>>>>>>>> there is no problem with looking up the value.
>>>>>>>>>>>>
>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>>>>> Yes!
>>>>>>>>>>>>>
>>>>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just
>>>>>>>>>>>>> in dw in which this dddw is I see only datavalues and not
>>>>>>>>>>>>> displaydata. Also when I change value there is just data
>>>>>>>>>>>>> values displayed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards!
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v
>>>>>>>>>>>>> sporoèilo news:49368c48$1@forums-1-dub ...
>>>>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve
>>>>>>>>>>>>>> on the new DDDW to load its buffers?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>>>>> Hello!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn
>>>>>>>>>>>>>>> value in dw column and not display value.
>>>>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> How could I refresh display value in dw when dddw is
>>>>>>>>>>>>>>> dinamicly changed?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Philip Salgannik Posted on 2008-12-10 16:13:31.0Z
From: "Philip Salgannik" <philip@MeMyselfAndI.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub> <493fad88$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 178
Organization: MeMyselfAndI
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <493feaab$1@forums-1-dub>
Date: 10 Dec 2008 08:13:31 -0800
X-Trace: forums-1-dub 1228925611 10.22.241.152 (10 Dec 2008 08:13:31 -0800)
X-Original-Trace: 10 Dec 2008 08:13:31 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88374
Article PK: 417626

I've used this quite often and seen this done in plenty of apps - never seen
a problem like this (when it was done properly of course :-) )

"Tomaz" <kralj.soft4you@gmail.com> wrote in message
news:493fad88$1@forums-1-dub...
>I can't believe that nobody use this technique before?
>
>
>
> Regards
>
>
>
>
>
>
>
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
> sporoèilo news:493931a7$1@forums-1-dub ...
>> ROFLMAO!
>>
>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>> news:4938f1bd$1@forums-1-dub...
>>> Hi Jerry,
>>>
>>> if I remember correctly I learned this programming technique
>>> here in the forum simulteanously to the important computer
>>> english phrase "Waving a dead chicken ...". While I never
>>> realized why it isn't a "bloody chicken" (which would be much
>>> more colorful) I made a lot of improvements in the mastery
>>> of Vodoo programming over the last 10 years. BTW I often
>>> wonder if the Name "Techwave" has some Vodoo impact
>>> too? Unfortunately I never had the luck to attend a Techwave
>>> but maybe that saved the life of at least one chicken every year. ;-)
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>>
>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>>
>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>> news:4937fbfb$1@forums-1-dub...
>>>>> Calling groupCalc() after the modifications may also
>>>>> worth a try.
>>>>>
>>>>> HTH
>>>>>
>>>>> Chris Werner
>>>>> f+s software gmbh
>>>>>
>>>>>
>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>>> Try changing columns after setting the DDDW or maybe SetRedraw(TRUE).
>>>>>>
>>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>>> news:4937ef88@forums-1-dub...
>>>>>>> Yes!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>>>>>>> sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>>> Does the second DDDW work right if you set it in the painter rather
>>>>>>>> than dynamically?
>>>>>>>>
>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>>> datavalue displayed.
>>>>>>>>>
>>>>>>>>> All data value in this two DDDW are long, just display value in
>>>>>>>>> one is char(10) and in second char(20). I will change this that
>>>>>>>>> also display value is the same long and I will se result.
>>>>>>>>>
>>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>>> v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>>> corresponding display value? If it doesn't, seeing the data value
>>>>>>>>>> is expected.
>>>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>>>> DDDW and the column in the main DW are the same so that there is
>>>>>>>>>> no problem with looking up the value.
>>>>>>>>>>
>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>>> Yes!
>>>>>>>>>>>
>>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just
>>>>>>>>>>> in dw in which this dddw is I see only datavalues and not
>>>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>>>> displayed.
>>>>>>>>>>>
>>>>>>>>>>> Regards!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v sporoèilo
>>>>>>>>>>> news:49368c48$1@forums-1-dub ...
>>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>>
>>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve on
>>>>>>>>>>>> the new DDDW to load its buffers?
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>>> Hello!
>>>>>>>>>>>>>
>>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>>>
>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>>
>>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn value
>>>>>>>>>>>>> in dw column and not display value.
>>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>>
>>>>>>>>>>>>> How could I refresh display value in dw when dddw is dinamicly
>>>>>>>>>>>>> changed?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>


Toma¾ Kralj Posted on 2008-12-11 16:19:21.0Z
From: "Toma¾ Kralj" <tomaz@soft4you-sp.si>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <493687de@forums-1-dub> <49368c48$1@forums-1-dub> <493691b1$1@forums-1-dub> <4936979a$1@forums-1-dub> <49378458$1@forums-1-dub> <4937e3d6$1@forums-1-dub> <4937ef88@forums-1-dub> <4937fb9a@forums-1-dub> <4937fbfb$1@forums-1-dub> <4937fe35$1@forums-1-dub> <4938f1bd$1@forums-1-dub> <493931a7$1@forums-1-dub> <493fad88$1@forums-1-dub> <493feaab$1@forums-1-dub>
Subject: Re: dinamicly change DDDW
Lines: 193
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.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49413d89@forums-1-dub>
Date: 11 Dec 2008 08:19:21 -0800
X-Trace: forums-1-dub 1229012361 10.22.241.152 (11 Dec 2008 08:19:21 -0800)
X-Original-Trace: 11 Dec 2008 08:19:21 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88381
Article PK: 417633

Hi Philip,


that's why I wrote here that someone tell me what is proper way of doing.
Maybe you can help me?

Regards

Tomaz

"Philip Salgannik" <philip@MeMyselfAndI.com> je napisal v sporoèilo
news:493feaab$1@forums-1-dub ...

> I've used this quite often and seen this done in plenty of apps - never
> seen a problem like this (when it was done properly of course :-) )
> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
> news:493fad88$1@forums-1-dub...
>>I can't believe that nobody use this technique before?
>>
>>
>>
>> Regards
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal v
>> sporoèilo news:493931a7$1@forums-1-dub ...
>>> ROFLMAO!
>>>
>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>> news:4938f1bd$1@forums-1-dub...
>>>> Hi Jerry,
>>>>
>>>> if I remember correctly I learned this programming technique
>>>> here in the forum simulteanously to the important computer
>>>> english phrase "Waving a dead chicken ...". While I never
>>>> realized why it isn't a "bloody chicken" (which would be much
>>>> more colorful) I made a lot of improvements in the mastery
>>>> of Vodoo programming over the last 10 years. BTW I often
>>>> wonder if the Name "Techwave" has some Vodoo impact
>>>> too? Unfortunately I never had the luck to attend a Techwave
>>>> but maybe that saved the life of at least one chicken every year. ;-)
>>>>
>>>> Chris
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>> Newsbeitrag news:4937fe35$1@forums-1-dub...
>>>>> http://en.wikipedia.org/wiki/Voodoo_programming <BG>
>>>>>
>>>>> "Chris Werner" <cwAT{PleaseNoSpam}f-s.de> wrote in message
>>>>> news:4937fbfb$1@forums-1-dub...
>>>>>> Calling groupCalc() after the modifications may also
>>>>>> worth a try.
>>>>>>
>>>>>> HTH
>>>>>>
>>>>>> Chris Werner
>>>>>> f+s software gmbh
>>>>>>
>>>>>>
>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> schrieb im
>>>>>> Newsbeitrag news:4937fb9a@forums-1-dub...
>>>>>>> Try changing columns after setting the DDDW or maybe
>>>>>>> SetRedraw(TRUE).
>>>>>>>
>>>>>>> "Toma¾ Kralj" <tomaz@soft4you-sp.si> wrote in message
>>>>>>> news:4937ef88@forums-1-dub...
>>>>>>>> Yes!
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>>
>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je napisal
>>>>>>>> v sporoèilo news:4937e3d6$1@forums-1-dub ...
>>>>>>>>> Does the second DDDW work right if you set it in the painter
>>>>>>>>> rather than dynamically?
>>>>>>>>>
>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>> news:49378458$1@forums-1-dub...
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> Yes, I'am sure that data values have coresponding display value,
>>>>>>>>>> even when I change data value by selection in DDDW there is only
>>>>>>>>>> datavalue displayed.
>>>>>>>>>>
>>>>>>>>>> All data value in this two DDDW are long, just display value in
>>>>>>>>>> one is char(10) and in second char(20). I will change this that
>>>>>>>>>> also display value is the same long and I will se result.
>>>>>>>>>>
>>>>>>>>>> Strange is that if I change in main DW that DDDW is second DDDW
>>>>>>>>>> then for this second DDDW display values are shown but not again
>>>>>>>>>> for DDDW which is dinamicly changed.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> je
>>>>>>>>>> napisal v sporoèilo news:4936979a$1@forums-1-dub ...
>>>>>>>>>>> Are you sure that the data value you are seeing has a
>>>>>>>>>>> corresponding display value? If it doesn't, seeing the data
>>>>>>>>>>> value is expected.
>>>>>>>>>>> I would also check that the data types of the data column in the
>>>>>>>>>>> DDDW and the column in the main DW are the same so that there is
>>>>>>>>>>> no problem with looking up the value.
>>>>>>>>>>>
>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>> news:493691b1$1@forums-1-dub...
>>>>>>>>>>>> Yes!
>>>>>>>>>>>>
>>>>>>>>>>>> When I dropdown this changed DDDW I see all corect value, just
>>>>>>>>>>>> in dw in which this dddw is I see only datavalues and not
>>>>>>>>>>>> displaydata. Also when I change value there is just data values
>>>>>>>>>>>> displayed.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> "Chris Pollach" <cpollach@travel-net.com> je napisal v
>>>>>>>>>>>> sporoèilo news:49368c48$1@forums-1-dub ...
>>>>>>>>>>>>> Hi Tomaz;
>>>>>>>>>>>>>
>>>>>>>>>>>>> After changing the DDDW .. do you then perform a Retrieve
>>>>>>>>>>>>> on the new DDDW to load its buffers?
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Regards ... Chris
>>>>>>>>>>>>> ISUG - NA RUG Director
>>>>>>>>>>>>> http://chrispollach.pbdjmagazine.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> "Tomaz" <kralj.soft4you@gmail.com> wrote in message
>>>>>>>>>>>>> news:493687de@forums-1-dub...
>>>>>>>>>>>>>> Hello!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> PB 11.2
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have DW with DDDW.
>>>>>>>>>>>>>> Based on value in one colunm I change DDDW:
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.Name='d_dddw_em'")
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DataColumn='enme_id'")
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> this.Modify("em_kolicine.dddw.DisplayColumn='oznaka_slo'")
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Problem is that when I change dddw I see only datacolumn
>>>>>>>>>>>>>> value in dw column and not display value.
>>>>>>>>>>>>>> When I dropdown this DDDW I see all values.
>>>>>>>>>>>>>> If I change DDDW back to original I see again display value.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> How could I refresh display value in dw when dddw is
>>>>>>>>>>>>>> dinamicly changed?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Tomaz
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>