[[https://www.revelation.com/|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]]
==== How do I print a variable in the heading of a RLIST report (AREV Specific) ====
=== At 28 JUN 2000 02:21:56PM John Sichko wrote: ===
{{tag>"AREV Specific"}}
I have tried to set a variable and have this value appear in the heading of my report. Example: month=@pseudo I can print this out on a page but the following report prints on the next page. How do I get it to print with the report?
----
=== At 28 JUN 2000 07:27PM Bill Titus wrote: ===
John,
You might try the RLIST filename (SX) option to capture the source code for the report to the default RLIST DOS file, which will be created in your AREV subdirectory. Or use RLIST filename (X) to capture the source code to a file and id you name. Either way, you can modify and save the code - including HEADING and FOOTING information - compile and catalogue it, then run it from a menu, TCL or wherever.
Have fun.
Bill
----
=== At 29 JUN 2000 12:00AM rayc@symmetryinfo.com wrote: ===
John,
In a straight Rlist, you can insert the "breaking field" into the heading option by using the "B" option (e.g., BY XXX BREAK-ON XX "B"). In your Heading, you would say, for example,
[b]HEADING"This is my report 'B'".[/b]
The only other way (that I can think of) is to incorporate the Rlist statement in a Rbasic program and define what goes into the Header, e.g.,
Head=this is a report for the date of ":Oconv(Date(),'D4-')
"....List FileName F1 F2 F3 Heading":Quote(Head)..."
rayc@symmetryinfo.com onmouseover=window.status=imagine ... ;return(true)"
[url=http://www.symmetryinfo.Com" onMouseOver=window.status=Imagine ... ' ;return(true)]Symmetry Info[/url]
Ray Chan ~ Symmetry Info
----
=== At 29 JUN 2000 09:53AM Don Miller - C3 Inc. wrote: ===
See Ray Chan's post. You can also do something like:
In DICT.FILENAME or DICT.VOC if you want it global, create a symbolic named whatever (I'll call it FOO) that captures your @PSEUDO, eg IF LEN(@PSEUDO) THEN @ANS=@PSEUDO ELSE @ANS="
then
LIST yourfile fields-to-list BREAK-ON FOO "'B'" JUSTLEN "L#0" HEADING "'B' ANY OTHER TEXT .."
This will put a non-changing break-on value in the header that can be initialized anywhere..just don't use @RECORD. You coulc use @USER0 or something like that as well.
Don Miller
C3 Inc.
----
=== At 29 JUN 2000 12:39PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]Sprezz[/url] wrote: ===
http://www.sprezzatura.com/V4I1A5.HTM
[url=http://www.sprezzatura.com" ]Sprezz[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=EE671A12930454A68525690C0064E2CF|View this thread on the forum...]]