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.

Selecting text in a datawindow report

4 posts in DataWindow Last posting was on 2009-01-09 21:45:12.0Z
Roger Bertilsson Posted on 2009-01-09 20:36:15.0Z
Sender: 5254.4967b1f1.1804289383@sybase.com
From: Roger Bertilsson
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Selecting text in a datawindow report
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4967b53f.52f0.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-=_forums-1-dub4967b53f"
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Jan 2009 12:36:15 -0800
X-Trace: forums-1-dub 1231533375 10.22.241.41 (9 Jan 2009 12:36:15 -0800)
X-Original-Trace: 9 Jan 2009 12:36:15 -0800, 10.22.241.41
Lines: 885
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88551
Article PK: 417804

I use Powerbuilder 11.5 on WinXP SP3 and I have created a
datawindow report (tabular style) which retrievs data from a
stored procedure (MS SQLServer 2005).

When I in my application have retrieved my report, I can't
select the text in the report which I'm very interested in
because I would like to copy the selected text into
clipboard in order to paste it into another application such
as MS Word etc.

How do I make datawindow reports selectable?

I attach a psr-file of the report if that would help
understanding what the report looks like.

Thanks /Roger


Roger Bertilsson Posted on 2009-01-09 20:55:41.0Z
Sender: 5254.4967b1f1.1804289383@sybase.com
From: Roger Bertilsson
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Selecting text in a datawindow report
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4967b9cd.53c2.1681692777@sybase.com>
References: <4967b53f.52f0.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Jan 2009 12:55:41 -0800
X-Trace: forums-1-dub 1231534541 10.22.241.41 (9 Jan 2009 12:55:41 -0800)
X-Original-Trace: 9 Jan 2009 12:55:41 -0800, 10.22.241.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88552
Article PK: 417806

I have noticed that by setting the tab value from 0 to 10 I
can select one row at a time. Is it possible to make it able
to select many rows at a time by using the mouse or by
selecting rows holding shift or ctrl keys.

Thanks again /Roger


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-01-09 21:04:17.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4967b53f.52f0.1681692777@sybase.com> <4967b9cd.53c2.1681692777@sybase.com>
Subject: Re: Selecting text in a datawindow report
Lines: 15
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: <4967bbd1$1@forums-1-dub>
Date: 9 Jan 2009 13:04:17 -0800
X-Trace: forums-1-dub 1231535057 10.22.241.152 (9 Jan 2009 13:04:17 -0800)
X-Original-Trace: 9 Jan 2009 13:04:17 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88553
Article PK: 417807

You can simulate the effect of cntl-click and shift-click in code to toggle
SelectRow, but that won't be meaningful as selected text for the Clipboard
function. You'd have to write your own code to gather the text from the
selected rows.

<Roger Bertilsson> wrote in message
news:4967b9cd.53c2.1681692777@sybase.com...
>I have noticed that by setting the tab value from 0 to 10 I
> can select one row at a time. Is it possible to make it able
> to select many rows at a time by using the mouse or by
> selecting rows holding shift or ctrl keys.
>
> Thanks again /Roger


Terry Dykstra [TeamSybase] Posted on 2009-01-09 21:45:12.0Z
Reply-To: "Terry Dykstra [TeamSybase]" <dontreply_tddykstra@forestoil.ca.x>
From: "Terry Dykstra [TeamSybase]" <tddykstra@forestoil.ca>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4967b53f.52f0.1681692777@sybase.com> <4967b9cd.53c2.1681692777@sybase.com> <4967bbd1$1@forums-1-dub>
Subject: Re: Selecting text in a datawindow report
Lines: 29
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.3198
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4967c568@forums-1-dub>
Date: 9 Jan 2009 13:45:12 -0800
X-Trace: forums-1-dub 1231537512 10.22.241.152 (9 Jan 2009 13:45:12 -0800)
X-Original-Trace: 9 Jan 2009 13:45:12 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88554
Article PK: 417808

As far as I know only grid style reports support selecting a range of
columns/rows.

--
Terry Dykstra (TeamSybase)
http://powerbuilder.codeXchange.sybase.com/
http://casexpress.sybase.com
product enhancement requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> wrote in message
news:4967bbd1$1@forums-1-dub...
> You can simulate the effect of cntl-click and shift-click in code to
> toggle SelectRow, but that won't be meaningful as selected text for the
> Clipboard function. You'd have to write your own code to gather the text
> from the selected rows.
>
> <Roger Bertilsson> wrote in message
> news:4967b9cd.53c2.1681692777@sybase.com...
>>I have noticed that by setting the tab value from 0 to 10 I
>> can select one row at a time. Is it possible to make it able
>> to select many rows at a time by using the mouse or by
>> selecting rows holding shift or ctrl keys.
>>
>> Thanks again /Roger
>
>