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.

dw_1 InsertRow

4 posts in DataWindow Last posting was on 2009-02-11 14:25:58.0Z
khuzaimi Posted on 2009-02-11 02:09:19.0Z
From: "khuzaimi" <mykhuzaimi@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Organization: 202.170.57.251
X-Newsreader: AspNNTP 1.50 (JodoHost)
Subject: dw_1 InsertRow
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4992334f$1@forums-1-dub>
Date: 10 Feb 2009 18:09:19 -0800
X-Trace: forums-1-dub 1234318159 10.22.241.152 (10 Feb 2009 18:09:19 -0800)
X-Original-Trace: 10 Feb 2009 18:09:19 -0800, vip152.sybase.com
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88755
Article PK: 418011

how to auto insertrow into datawidnow (dw_1) when some word appear at
sle_1.text then it capture. insertrow into datawindow (dw_1)
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-02-11 03:42:36.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4992334f$1@forums-1-dub>
Subject: Re: dw_1 InsertRow
Lines: 12
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: <4992492c$1@forums-1-dub>
Date: 10 Feb 2009 19:42:36 -0800
X-Trace: forums-1-dub 1234323756 10.22.241.152 (10 Feb 2009 19:42:36 -0800)
X-Original-Trace: 10 Feb 2009 19:42:36 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88756
Article PK: 418010

Define a user event for the SLE mapped to pbm_enchanged.
In the script for that event you can check the Text property for the magic
word and do whatever you need.

"khuzaimi" <mykhuzaimi@gmail.com> wrote in message
news:4992334f$1@forums-1-dub...
> how to auto insertrow into datawidnow (dw_1) when some word appear at
> sle_1.text then it capture. insertrow into datawindow (dw_1)
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp


mykhuzaimi Posted on 2009-02-11 05:27:51.0Z
From: mykhuzaimi <mykhuzaimi@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: dw_1 InsertRow
Date: Tue, 10 Feb 2009 21:27:51 -0800 (PST)
Organization: http://groups.google.com
Lines: 34
Message-ID: <ff1277b6-50c7-40b0-bc4e-9eb584f4dfce@r37g2000prr.googlegroups.com>
References: <4992334f$1@forums-1-dub> <4992492c$1@forums-1-dub>
NNTP-Posting-Host: 202.170.57.251
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1234330071 5404 127.0.0.1 (11 Feb 2009 05:27:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 11 Feb 2009 05:27:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r37g2000prr.googlegroups.com; posting-host=202.170.57.251; posting-account=Dtr27goAAADhMHeRbeGJEoEcV2yA2t1F
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729),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!news.glorb.com!news2.glorb.com!postnews.google.com!r37g2000prr.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88757
Article PK: 418009

On Feb 11, 11:42 am, "Jerry Siegel [TeamSybase]"

<jNOsSPAMsiegel@yahoo!.com> wrote:
> Define a user event for the SLE mapped to pbm_enchanged.
> In the script for that event you can check the Text property for the magic
> word and do whatever you need.
>
> "khuzaimi" <mykhuza...@gmail.com> wrote in message
>
> news:4992334f$1@forums-1-dub...
>
> > how to auto insertrow into datawidnow (dw_1) when some word appear at
> > sle_1.text then it capture. insertrow into datawindow (dw_1)
> > ---== Posted via the PFCGuide Web Newsreader ==---
> >http://www.pfcguide.com/_newsgroups/group_list.asp

the event work if i using static sle_1.text='888888888888' in command
button. then pbm_enchange work insertrow into datawindow dw_1.

the problem now pbm_enchange capture by character and insert into for
example:
888888888888
88888888888
8888888888
888888888
88888888
8888888
888888
88888
8888
888
88
8


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-02-11 14:25:58.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4992334f$1@forums-1-dub> <4992492c$1@forums-1-dub> <ff1277b6-50c7-40b0-bc4e-9eb584f4dfce@r37g2000prr.googlegroups.com>
Subject: Re: dw_1 InsertRow
Lines: 42
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: <4992dff6$1@forums-1-dub>
Date: 11 Feb 2009 06:25:58 -0800
X-Trace: forums-1-dub 1234362358 10.22.241.152 (11 Feb 2009 06:25:58 -0800)
X-Original-Trace: 11 Feb 2009 06:25:58 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88767
Article PK: 418021

pbm_enchange will fire each time you type a character. So, if you want to
insert a row when the text is 12345 you would need to code
IF sle_1.Text = '12345' THEN
dw_1.InsertRow(0)
END IF

"mykhuzaimi" <mykhuzaimi@gmail.com> wrote in message
news:ff1277b6-50c7-40b0-bc4e-9eb584f4dfce@r37g2000prr.googlegroups.com...
On Feb 11, 11:42 am, "Jerry Siegel [TeamSybase]"

<jNOsSPAMsiegel@yahoo!.com> wrote:
> Define a user event for the SLE mapped to pbm_enchanged.
> In the script for that event you can check the Text property for the magic
> word and do whatever you need.
>
> "khuzaimi" <mykhuza...@gmail.com> wrote in message
>
> news:4992334f$1@forums-1-dub...
>
> > how to auto insertrow into datawidnow (dw_1) when some word appear at
> > sle_1.text then it capture. insertrow into datawindow (dw_1)
> > ---== Posted via the PFCGuide Web Newsreader ==---
> >http://www.pfcguide.com/_newsgroups/group_list.asp

the event work if i using static sle_1.text='888888888888' in command
button. then pbm_enchange work insertrow into datawindow dw_1.

the problem now pbm_enchange capture by character and insert into for
example:
888888888888
88888888888
8888888888
888888888
88888888
8888888
888888
88888
8888
888
88
8