newsgroups-index (beta)

Current group: dbase.bug-reports

Bug: Values of no more that 1 field can display on Pagetemplate of a Report

Bug: Values of no more that 1 field can display on Pagetemplate of a Report  
George Balanis
 Re: Bug: Values of no more that 1 field can display on Pagetemplate  
Bruce Beacham
From:George Balanis
Subject:Bug: Values of no more that 1 field can display on Pagetemplate of a Report
Date:Sun, 23 Jan 2005 13:09:06 -0500
Hello All:

It appears that there is a bug in the PageTemplate are of the report class. If one puts two table fields in the page template area, only the first one can display its values. If one deletes this field, then the values of the second field will get displayed.

Regards,

George Balanis
From:Bruce Beacham
Subject:Re: Bug: Values of no more that 1 field can display on Pagetemplate
Date:Sun, 23 Jan 2005 21:55:59 +0000
George Balanis wrote:
> It appears that there is a bug in the PageTemplate are of the report
> class. If one puts two table fields in the page template area, only
> the first one can display its values. If one deletes this field,
> then the values of the second field will get displayed.

I can confirm this report designer _and_ report rendering behaviour in
b.1755.

If you open the code below in the report designer, then move fields up
or down to positions above and below the positions of other text
objects, within the pagetemplate, you will find that they appear and
disappear (at least, the rendered text appears and disappears - the text
objects remain).

And when run, the same behaviour is apparent.


Bruce Beacham


******
** END HEADER -- do not remove this line
//
// Generated on 23/01/2005
//
local r
r = new ttwoReport()
r.render()

class ttwoReport of REPORT
this.DBASESAMPLES1 = new DATABASE()
this.DBASESAMPLES1.parent = this
with (this.DBASESAMPLES1)
left = 8550.0
top = 1185.0
databaseName = "DBASESAMPLES"
active = true
endwith

this.FISH1 = new QUERY()
this.FISH1.parent = this
with (this.FISH1)
left = 8550.0
top = 1185.0
database = form.dbasesamples1
sql = "select * from fish.dbf"
requestLive = false
active = true
endwith

this.STREAMSOURCE1 = new STREAMSOURCE(this)
this.PAGETEMPLATE1 = new PAGETEMPLATE(this)
with (this.PAGETEMPLATE1)
height = 16837.0
width = 11905.0
marginTop = 1080.0
marginLeft = 1080.0
marginBottom = 1080.0
marginRight = 1080.0
gridLineWidth = 0
endwith

this.PAGETEMPLATE1.STREAMFRAME1 ;
= new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME1)
height = 11592.0
left = 360.0
top = 1365.0
width = 9360.0
form.STREAMFRAME1 ;
= form.pagetemplate1.streamframe1
endwith

this.PAGETEMPLATE1.TEXTNAME1 ;
= new TEXT(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.TEXTNAME1)
height = 300.0
left = 825.0
top = 180.0
width = 2880.0
variableHeight = true
prefixEnable = false
text ;
= {||this.form.fish1.rowset.fields["name"].value}
form.TEXTNAME1 = form.pagetemplate1.textname1
endwith

this.PAGETEMPLATE1.TEXTDESCRIPTION1 ;
= new TEXT(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.TEXTDESCRIPTION1)
height = 300.0
left = 3090.0
top = 495.0
width = 1080.0
variableHeight = true
prefixEnable = false
text ;
= {||this.form.fish1.rowset.fields["description"].value}
form.TEXTDESCRIPTION1 ;
= form.pagetemplate1.textdescription1
endwith

this.PAGETEMPLATE1.IMAGEFISH_IMAGE1 ;
= new IMAGE(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.IMAGEFISH_IMAGE1)
height = 1200.0
left = 6210.0
top = 60.0
width = 1080.0
dataSource = form.fish1.rowset.fields["fish image"]
enabled = true
form.IMAGEFISH_IMAGE1 ;
= form.pagetemplate1.imagefish_image1
endwith

this.PAGETEMPLATE1.TEXTNAME2 = ;
new TEXT(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.TEXTNAME2)
height = 300.0
left = 4425.0
top = 0.0
width = 2880.0
variableHeight = true
prefixEnable = false
text = {||this.form.fish1.rowset.fields["name"].value}
form.TEXTNAME2 = form.pagetemplate1.textname2
endwith

with (this.printer)
duplex = 1 // None
orientation = 1 // Portrait
paperSource = 15
paperSize = 9
resolution = 4 // High
color = 1 // Monochrome
trueTypeFonts = 3 // Substitute
endwith

this.firstPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.nextPageTemplate ;
= this.form.pagetemplate1
this.form.pagetemplate1.streamframe1.streamSource ;
= this.form.streamsource1
this.form.streamsource1.rowset = this.form.fish1.rowset
endclass
******
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum