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.

Height/Scroll problem in Datawindow

7 posts in Appeon (partner product) Last posting was on 2012-05-23 12:26:44.0Z
Jay Posted on 2012-05-21 13:20:49.0Z
Sender: 4072.4fba05aa.1804289383@sybase.com
From: jay
Newsgroups: sybase.public.appeon
Subject: Height/Scroll problem in Datawindow
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4fba4131.49e8.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 21 May 2012 06:20:49 -0700
X-Trace: forums-1-dub 1337606449 172.20.134.41 (21 May 2012 06:20:49 -0700)
X-Original-Trace: 21 May 2012 06:20:49 -0700, 172.20.134.41
Lines: 20
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2969
Article PK: 21975

Hello,
I'm having a problem with the datawindow. The retrieved
results are more than the space in the datawindow, so it
should scroll down, but the scroll does not appear. It has
something to do with the "trailer.height" property. I have
set it 5000 as following:

Here's what I have in datawindow:
group(level=1 header.height=10 trailer.height=5000
by=("column1" ) newpage=yes header.color="536870912"
trailer.color="536870912" )

The datawindow will show results only in above fixed height,
and will hide the remaining results, but if I take the print
out then all results appear correctly on the printed paper.
If I try to increase the trailer.height, then there is lots
of empty space on the top. How can I display all results
with the scroll? Where could be the problem?

Thank you for being helpful always.


Chris Pollach Posted on 2012-05-22 11:37:46.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
Newsgroups: sybase.public.appeon
Subject: Re: Height/Scroll problem in Datawindow
References: <4fba4131.49e8.1681692777@sybase.com>
In-Reply-To: <4fba4131.49e8.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4fbb7a8a@forums-1-dub>
Date: 22 May 2012 04:37:46 -0700
X-Trace: forums-1-dub 1337686666 10.22.241.152 (22 May 2012 04:37:46 -0700)
X-Original-Trace: 22 May 2012 04:37:46 -0700, vip152.sybase.com
Lines: 39
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2970
Article PK: 13682

Hi Jay;

When you say "Take the Print out" ... are you referring to taking the
DW control out of "Print Preview" mode?

BTW: Can you tell use the version / build of PB and Appeon you are using?

--
Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com

On 5/21/2012 9:20 AM, jay wrote:
> Hello,
> I'm having a problem with the datawindow. The retrieved
> results are more than the space in the datawindow, so it
> should scroll down, but the scroll does not appear. It has
> something to do with the "trailer.height" property. I have
> set it 5000 as following:
>
> Here's what I have in datawindow:
> group(level=1 header.height=10 trailer.height=5000
> by=("column1" ) newpage=yes header.color="536870912"
> trailer.color="536870912" )
>
> The datawindow will show results only in above fixed height,
> and will hide the remaining results, but if I take the print
> out then all results appear correctly on the printed paper.
> If I try to increase the trailer.height, then there is lots
> of empty space on the top. How can I display all results
> with the scroll? Where could be the problem?
>
> Thank you for being helpful always.


Chris Pollach Posted on 2012-05-22 12:24:29.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
Newsgroups: sybase.public.appeon
Subject: Re: Height/Scroll problem in Datawindow
References: <4fbb7a8a@forums-1-dub> <4fbb83b7.7f91.1681692777@sybase.com>
In-Reply-To: <4fbb83b7.7f91.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4fbb857d@forums-1-dub>
Date: 22 May 2012 05:24:29 -0700
X-Trace: forums-1-dub 1337689469 10.22.241.152 (22 May 2012 05:24:29 -0700)
X-Original-Trace: 22 May 2012 05:24:29 -0700, vip152.sybase.com
Lines: 68
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2972
Article PK: 21977

BTW: Did you include/add the Appeon "WorkArounds.PBL" library (PB
12.5 version) to your application before you deployed it?

On 5/22/2012 8:16 AM, jay wrote:
> Thanks for the reply. The application has a built in print
> function in the menu which uses the pfc_print function to
> take print.
>
> The data displays correctly in the PowerBuilder application,
> the problem is only in the Appeon deployed web application.
>
> I remember reading somewhere that the type of the datawindow
> (freeform, composite etc) can cause the display problem. Is
> it true? If yes, how can i find out what is the type of the
> datawindow and is there anyway to change it without creating
> new datawindow?
> I'm using latest Appeon version 6.5.1 + PowerBuilder 12.5,
> and trying to migrate an old PowerBuilder application to the
> web.
>
> I'm new to Appeon and PowerBuilder, will highly appriciate
> any help.
> Thanks.
>
>
>
>> Hi Jay;
>>
>> When you say "Take the Print out" ... are you referring
>> to taking the DW control out of "Print Preview" mode?
>>
>> BTW: Can you tell use the version / build of PB and Appeon
>> you are using?
>>
>> --
>> Regards ... Chris
>> President: OSUG / STD Inc.
>> Vice President: ISUG
>> Blog: http://chrispollach.blogspot.com
>> SourceForge: http://sourceforge.net/projects/stdfndclass
>> PBDJ: http://chrispollach.sys-con.com
>>
>>
>> On 5/21/2012 9:20 AM, jay wrote:
>>> Hello,
>>> I'm having a problem with the datawindow. The retrieved
>>> results are more than the space in the datawindow, so it
>>> should scroll down, but the scroll does not appear. It
>>> has something to do with the "trailer.height" property.
>>> I have set it 5000 as following:
>>>
>>> Here's what I have in datawindow:
>>> group(level=1 header.height=10 trailer.height=5000
>>> by=("column1" ) newpage=yes header.color="536870912"
>>> trailer.color="536870912" )
>>>
>>> The datawindow will show results only in above fixed
>>> height, and will hide the remaining results, but if I
>>> take the print out then all results appear correctly on
>>> the printed paper. If I try to increase the
>>> trailer.height, then there is lots of empty space on the
>>> top. How can I display all results with the scroll?
>> Where could be the problem?>
>>> Thank you for being helpful always.
>>