Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Render reprint image in every page
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087907
Message ID:
01088034
Views:
12
I had already change the Render Method with no success:

The New code for the Render method is :
LPARAMETERS nfrxrecno, nleft, ntop, nwidth, nheight, nobjectcontinuationtype, ccontentstoberendered, gdiplusimage
THIS.pprinted = .T.
LOCAL cuserdata , cdatatorender
cuserdata = THIS.areport[nfrxrecno,_frx_COMMENT]
cdatatorender = ccontentstoberendered
IF ! EMPTY(cuserdata)
cdatatorender =THIS.creategdiobject(nfrxrecno,;
nleft,ntop,nwidth,nheight,;
nobjectcontinuationtype , ;
ccontentstoberendered, gdiplusimage,cuserdata)

DODEFAULT(nfrxrecno,;
nleft,ntop,nwidth,nheight,;
0, ; // Also check with 3,2,1
cdatatorender, gdiplusimage)

ELSE
DODEFAULT(nfrxrecno,;
nleft,ntop,nwidth,nheight,;
nobjectcontinuationtype, ;
cdatatorender, gdiplusimage)
ENDIF
>Check the nObjectcontinuationType parameter do determine whether you need to print the graphic. This is from VFP's help file for the Render() method.
>
>-----
>nObjectContinuationType
>
>Indicates the current continuation state for the rendered element. When layout elements span pages, they are rendered in multiple sections (once for each page).
>
>Note
>Continuation can occur for layout elements of Expression (Field), Shape, or Line type. Although Labels and Pictures can span bands in a report, they cannot span pages and ReportListener renders them only once. Not all band types support spanning pages. Refer to Report Bands for more information.
>
>
>The following table lists the possible values for nObjectContinuationType.
>
>Value Continuation Type
>0 Complete (no continuation).
>
>1 Start of layout element occurrence, will not finish on the current page.
>
>2 Mid-element, neither started nor finished on the current page.
>
>3 End of element, completed on the current page.
----------------------------------------
Nikos Kiriakoulakos
Software Engineer
Dep. of Medical Informatics
Apollo Ltd.
Greece
----------------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform