Normal Topic Non repeating headers (Read 477 times)
etejeira
Junior Member
**
Offline


No personal text

Posts: 60
Joined: Aug 6th, 2005
Non repeating headers
Mar 12th, 2006 at 8:43pm
Print Post Print Post  
I have been programming reports with non repeating headers using the following code:

on GLOBAL
stat CurrentCopy as string
stat DelayedCopy as string

on LEO
CurrentCopy = LE0
if CurrentCopy = DelayedCopy
clear(LE0)
DelayedCopy = CurrentCopy

This works. However it leaves a blank line were the repeating header use to be.
How do I eliminate that blank line?

  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Non repeating headers
Reply #1 - Mar 13th, 2006 at 1:02pm
Print Post Print Post  
The easiest thing to do would be to set the group headers (in SDesigner - not code), and for that group to have no breaks set at all. That will give you headers at the top of the group and none at each break, because there are no breaks.

If, for some reason, you need to have group breaks - but not repeating headers: nest two groups - an inner group and an outer group. Put the column headers on the outer group. Make sure the inner group has no headers. Set the break on the inner group.

See page 398 of the Sesame 1.1 User's Guide.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
etejeira
Junior Member
**
Offline


No personal text

Posts: 60
Joined: Aug 6th, 2005
Re: Non repeating headers
Reply #2 - Mar 13th, 2006 at 9:55pm
Print Post Print Post  
I would like to point out that the report is in Free-Form not in Table
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Non repeating headers
Reply #3 - Mar 13th, 2006 at 9:58pm
Print Post Print Post  
Using an outer Group with no Group Break set should still work. If it is not a Table and does not need to line up with columns, you can just use the View Header.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged