Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can VFP6 Report do a forced eject?

Status
Not open for further replies.

MikeWood

MIS
Mar 13, 2000
43
US
I have used the FoxPro report writer for many years and finally I have a need to force a page eject if certain conditions apply.  Is there a way to use the on entry/exit routines for the detail band to force a page eject?
 
Yes / No - Without knowing what the conditions are it will be hard to answer your question. <br><br>Have you tried the unique index trick for the header band idea yet ?<br>or <br>Creating a independent IDX to control the print functions.?<br>or <br>Creating a seperate (on the fly) table to control the report form and setting a relation from the main table into that seperate table and doing a header band on the seperate table when the conditions match?<br>or<br>I had to do special printing functions for a DOS client some time back and what I did was to create a database of printers the client had.&nbsp;&nbsp;From the printers manual for each type of printer I entered all the excape codes with the functions I needed.&nbsp;&nbsp;Before printing the report I asked the user what printer they had (Windows should be able to tell us that now) and did a search in the printer table for it. If the printer was not found I did not print the report. When I needed the special printer codes in the report I made a call to the printer table field for that function.<br>or<br>When all else fails there is the old brute force method.&nbsp;&nbsp;Create a table with all the information you need to print the report and using that table to print the report.&nbsp;&nbsp;(queries get to long when you have several databases to pull info from) <br><br><br>Will one of these ideas work for you ????<br> <p>David W. Grewe<br><a href=mailto:Dave@internationalbid.net>Dave@internationalbid.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top