Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 17 NOV 2003 12:26:09PM Daniel Rebich wrote:

Good day all. I am wondering if there is an R/Basic variable that contains the current line number on page while AREV is outputting information in report format. That is, if the last line out put is at line number 45, is some varible that I can access that would have that number in it?

Thanks

Daniel Rebich


At 17 NOV 2003 12:26PM Steve Smith wrote:

Daniel, I can't recall seeing one. Every time I've written a report I've kept my own counter, especially if I've been handling pagination so multiple print lines per record (especially multivalue groups)didn't overlap page boundaries.

@REC.COUNT is often set to the total number of records prior to print, especially on a TCL based RLIST statement. This can be helpful (in rather limited circumstances) in anticipating the total number of records to be processed for constructing means or percentages etc. from a symbolic.

Steve


At 17 NOV 2003 12:26PM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

The banded report writer changed this slightly - to quote from some code it generates

LineDif=@lptrhigh - @Page_line

if LineDif=PGFOOT_ROWS$ then

gosub new_page

end else

if LineDif The Sprezzatura Group[/url]

World Leaders in all things RevSoft


At 17 NOV 2003 02:59PM ps wing wrote:

Perhaps the function CURRENT.LINE on util disk2- tools may do the job? See calling program CURRENT.LINE.TEXT on the same disk:

* PRINTER ON

PRINT @(-1)

FOR I=1 TO 10

PRINT 'This is line ':I

NEXT

CURLINE=CURRENT.LINE()

* PRINTER OFF

MSG('The current line is %1%',,,CURLINE)

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/2b3b5af5f4041f3685256de1005fc765.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1