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 control won't allow input of data

3 posts in DataWindow Last posting was on 2008-06-20 12:00:06.0Z
TonyMIS Posted on 2008-06-19 19:21:52.0Z
From: TonyMIS <aesteves@bostonfinancial.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: dw control won't allow input of data
Date: Thu, 19 Jun 2008 12:21:52 -0700 (PDT)
Organization: http://groups.google.com
Lines: 23
Message-ID: <7ea31dc5-4d54-43fc-a5b1-fe712f8b6ed9@p39g2000prm.googlegroups.com>
NNTP-Posting-Host: 209.0.112.9
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1213903313 1107 127.0.0.1 (19 Jun 2008 19:21:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Jun 2008 19:21:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p39g2000prm.googlegroups.com; posting-host=209.0.112.9; posting-account=XF6ckgoAAACs7hQvjds3XT2_H3YZR6k7
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .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.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!nx01.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!postnews.google.com!p39g2000prm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87218
Article PK: 416474

Hello ;

PB 10 build 4510. I inserted a dw control onto a tabpage. The dw
object(of the dw control) is off of an external db(not connected to
anything), all I did was add a field to it (while I was building the
dw).

(I want to use this in place of an Edit Mask or SLE because I was told
its less cumbersome for the functionality I want.)

I run the app, go into the tabpage, and I can't input anything into
the dw control. The goal is to save the numeric input from the control
to a table (clicked event of an update button will do this). (there
are other requirements/rules for input but first I just want the basic
thing to work)

I did check the tab order. What do I have to do so it will allow me to
input into it?

Any help is greatly appreciated.

Thanks
Tony


Chris Pollach Posted on 2008-06-20 12:00:06.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <7ea31dc5-4d54-43fc-a5b1-fe712f8b6ed9@p39g2000prm.googlegroups.com>
Subject: Re: dw control won't allow input of data
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <485b9bc6$1@forums-1-dub>
Date: 20 Jun 2008 05:00:06 -0700
X-Trace: forums-1-dub 1213963206 10.22.241.152 (20 Jun 2008 05:00:06 -0700)
X-Original-Trace: 20 Jun 2008 05:00:06 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87223
Article PK: 416479

Ni Tony;

What I do is ...
1) In the DW painter - proceed to the "Data" pane & tab page
2) RHMB in there and select the "Insert Row" option.
3) RHMB again and select "ShareData".
4) Save the DW object.

Now you have a null row saved in the DWO source. When you run this with your
application, the external DWO is ready for input - without any coding.

Note: You can always follow Roland's method as well.

HTH

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

"TonyMIS" <aesteves@bostonfinancial.com> wrote in message
news:7ea31dc5-4d54-43fc-a5b1-fe712f8b6ed9@p39g2000prm.googlegroups.com...
> Hello ;
>
> PB 10 build 4510. I inserted a dw control onto a tabpage. The dw
> object(of the dw control) is off of an external db(not connected to
> anything), all I did was add a field to it (while I was building the
> dw).
>
> (I want to use this in place of an Edit Mask or SLE because I was told
> its less cumbersome for the functionality I want.)
>
> I run the app, go into the tabpage, and I can't input anything into
> the dw control. The goal is to save the numeric input from the control
> to a table (clicked event of an update button will do this). (there
> are other requirements/rules for input but first I just want the basic
> thing to work)
>
> I did check the tab order. What do I have to do so it will allow me to
> input into it?
>
> Any help is greatly appreciated.
>
> Thanks
> Tony


Roland Smith [TeamSybase] Posted on 2008-06-19 19:36:05.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <7ea31dc5-4d54-43fc-a5b1-fe712f8b6ed9@p39g2000prm.googlegroups.com>
Subject: Re: dw control won't allow input of data
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <485ab525$1@forums-1-dub>
Date: 19 Jun 2008 12:36:05 -0700
X-Trace: forums-1-dub 1213904165 10.22.241.152 (19 Jun 2008 12:36:05 -0700)
X-Original-Trace: 19 Jun 2008 12:36:05 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87219
Article PK: 416481

Did you insert a row? Add this to the constructor: this.InsertRow(0)

"TonyMIS" <aesteves@bostonfinancial.com> wrote in message
news:7ea31dc5-4d54-43fc-a5b1-fe712f8b6ed9@p39g2000prm.googlegroups.com...
> Hello ;
>
> PB 10 build 4510. I inserted a dw control onto a tabpage. The dw
> object(of the dw control) is off of an external db(not connected to
> anything), all I did was add a field to it (while I was building the
> dw).
>
> (I want to use this in place of an Edit Mask or SLE because I was told
> its less cumbersome for the functionality I want.)
>
> I run the app, go into the tabpage, and I can't input anything into
> the dw control. The goal is to save the numeric input from the control
> to a table (clicked event of an update button will do this). (there
> are other requirements/rules for input but first I just want the basic
> thing to work)
>
> I did check the tab order. What do I have to do so it will allow me to
> input into it?
>
> Any help is greatly appreciated.
>
> Thanks
> Tony