Re: 4gl report print
Posted in 1998
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
jjdai@hotmail.com wrote: > Hi friends , > > Here I have a question that I worte a 4gl program to print a > report , in that report I want to print out the total no. of > records that had been selected out in the bottom of the paper , > Eg , The report like following : > *****************title******************** > > No 1 ************************* > > No 2 ************************* > > No3 ************************* > > TOTAL of No. : 3 > (this is the bottom of the paper) > > in the report subroutine , how can i imply this function . > I tried with skip , but , It can not support the variable in the > skip statement , and I can not know how many lines to be skiped . > > Thanks in advance You can print this in PAGE TRAILER section. To avoid printing this number _on_every_page_, you'll have to define module-global flag, set this flag in ON LAST ROW section, then in PAGE TRAILER section print the numbver of records only when the flag is set. Hope this help Jacek