` Printed Icetips Article

Icetips Article



Par2: Report -- Title Page
1998-10-21 -- Arnor Baldvinsson
 
Create a report structure with the bands you want to use on the front
page.  Paste this structure into the "Declaration section" embed,
something like this:

FrontPage REPORT,AT(,1000,6000,9000),PRE(FPG),FONT('Arial',10,,),THOUS
Detail DETAIL,AT(,,,6563)
  IMAGE('C4robot.bmp'),AT(1000,667),USE(?Image1),CENTERED
  STRING('My Front page'),AT(979,4760,4010,656),USE(?String1),|
  TRN,CENTER,FONT('Aachen BT',36,COLOR:Maroon,FONT:bold+FONT:italic)
  BOX,AT(979,4771,4010,656),USE(?Box1),ROUND,COLOR(COLOR:Black),LINEWIDTH(30)
       END
     END

In the "After opening the report" embed (Clarion templates) put:

OPEN(FrontPage)
FrontPage{Prop:Preview} = PrintPreviewImage
Print(FPG:Detail)
ENDPAGE(FrontPage)

In the "Before Closing Report" embed (again Clarion templates) put:

CLOSE(FrontPage)

This prints this as a front page to the report.  Now, I've spent some
time to try to figure out how to assign the preview property in ABC,
but so far haven't come up with a good solution - maybe someone
else...



Printed May 4, 2024, 4:48 am
This article has been viewed/printed 35120 times.