Try declaring your variables before entering the report in your BEFORE 
GENERATE action.
SET VAR vCount INTEGER = NULL
SET VAR vBreak INTEGER = NULL
Jan
 


-----Original Message-----
From: James Bentley <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 3 Nov 2010 08:31:09 -0700 (PDT)
Subject: [RBASE-L] - Re: Report Breaks in v9.x


Jan,

The example shown is from v7.6 for Dos and V6.5++ for Windows. Here is what 
I get in v9.x

 Full Name                        
   1 Wells, Alan Joseph
   2 Gutierrez, Salvador Edward, Jr.
   3 Farmer, Richard Bartholomew, III
   4 Becker, Michael
   5 Schulte, Douglas Francis
   6 Caillouet, Jean Francis

   7 Hardin, Roy Oswald, III

   8 Hebert, Hubert Knute
   9 Lee, Davis
  10 Gutierrez, Manfredo
  11 Hodge, Wayne Craig
  12 Nelson, Leonard Joseph, Jr.
  13 Garzona, Richard Alfonso, Jr.

  14 Le Blanc, Drouet Edmond

  15 Gros, Edward Oliver

 
You will notice it prints six names, skips a line, one name, skips a line, 
six names skips a line, one name, skips a line etc.

Jim Bentley
American Celiac Society
[email protected]
tel: 1-504-737-3293




From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, November 3, 2010 9:50:31 AM
Subject: [RBASE-L] - Re: Report Breaks in v9.x


James,
 
I must be overlooking something. I have read your email several times and 
don't find a problem.
You said you need to have a blank line after every 5 names and your output 
shows it is doing it.
So forgive me for asking, where is the problem?
 
Jan
 

 
-----Original Message-----
From: James Bentley <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 3 Nov 2010 06:07:44 -0700 (PDT)
Subject: [RBASE-L] - Report Breaks in v9.x


I am attempting to convert some reports from v7.8 for DOS to
v9.0 and v9.1 for WINDOWS. I want to have a blank line after
each group of 5 names. I converted the report to v6.5 for Windows
where the coding worked just as in v7.8 for DOS.  When I upgrade
the report to version 9 it dos not print correctly.

I following two variables are defined.

   1: INTEGER  : D  : vCount       = (IFNULL(.vCount,1,(.vCount + 1)))
   2: INTEGER  : D  : vBreak       = (IFEQ(.vCount,6,1,0))

Break points are defined as follows:
    Page                       [No ]
  Break1    vBreak             [Yes]
  Break2    MbrNumberUnsigned  [No ]
  Break3    MbrNumber          [No ]
  Break4    [None]             [No ]

At Break1 the following is being reset:
RESET 2  vCount

The output is as follows:
  Beta Xi Chapter Theta Xi Fraternity
  Living Members in Numeric Order

  Number   Full Name
  ÄÄÄÄÄÄ   
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
     1     Wells, Alan Joseph
     2     Gutierrez, Salvador Edward, Jr.
     3     Farmer, Richard Bartholomew, III
     5     Schulte, Douglas Francis
     6     Caillouet, Jean Francis

     7     Hardin, Roy Oswald, III
     8     Hebert, Hubert Knute
     9     Lee, Davis
    10     Gutierrez, Manfredo
    12     Nelson, Leonard Joseph, Jr.

    13     Garzona, Richard Alfonso, Jr.
    14     Le Blanc, Drouet Edmond

How do I code this in version 9?

Jim Bentley
American Celiac Society


 Jim Bentley
American Celiac Society
[email protected]
tel: 1-504-737-3293



      


 

Reply via email to