Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to embedd a Paje Eject in a VFP Report?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00681168
Message ID:
00681650
Views:
45
Hello Alex

Maybe the following would work.


1. Create a new report band within the band you are group in.

2. Set this band to start a new page when a particular value (MyValue) changes.

3. Now embed a UDF that changes the value of MYValue at the point you want an eject to happen. (Not sure how you would do this, depends on your data)


or (this is a horrible hack and this may confuse the report generator completely)

Put the following function in your procedure library and call it from your report as follws.


EXECUTE('EJECT')


You will need to put this before your total fields in the band you want on a nother page. (I have never tried this so it will probably not work)

To be honest, I suspect that your design for your report may be incorrect.
******************************************************************************
*
*       Function: EXECUTE
*
*     Parameters:
*        Returns: empty string
*      Variables:
*               : lc_cmnd          The command to be excuted from the report
******************************************************************************

*[172
* OVERVIEW of SWEPROC.PRG EXECUTE
* Function allows you to execute a Foxpro command from within a report.
* This would normally be used to call another function which carried out some additional processing
*]172
FUNC execute
LPARAM lc_cmnd
&lc_cmnd
RETURN ''
>Hi all -
>
>I would like to embed a page eject within a report. Essentially what I would like to do with this report (an invoice-type report), is have a particular Group Footer begin on a new page. How can I do this??
>
>I am running Visual FoxPro 7.0.
>
>Thanks!
>
>________________
>_____/ Regards,
>____/ al
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform