Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can VFP6 Report do a forced eject?

Can VFP6 Report do a forced eject?

Can VFP6 Report do a forced eject?

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?

RE: Can VFP6 Report do a forced eject?

Yes / No - Without knowing what the conditions are it will be hard to answer your question.

Have you tried the unique index trick for the header band idea yet ?
Creating a independent IDX to control the print functions.?
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?
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.  From the printers manual for each type of printer I entered all the excape codes with the functions I needed.  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.
When all else fails there is the old brute force method.  Create a table with all the information you need to print the report and using that table to print the report.  (queries get to long when you have several databases to pull info from)

Will one of these ideas work for you ????

David W. Grewe

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close