Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Forcing a Blank Page in a Report

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forcing a Blank Page in a Report

    Checked the Forum but found nothing that meets my requirements.

    1. Report is based upon a set and has 300 pages.

    2. Report has a detailed section and a group break. ( 14 group types not all with the same number of records)

    3. Properties set to start a new group on a new page and works correctly.

    4. Now I need to print on both sides of the paper, however, when the group changes the start of the new group sometimes prints on the back page of the last record of the previous group. Depending on the number of records in the previous group. Sometimes I get lucky and a new group prints on its own first page.

    5. I would like to force a blank page at end of each group.

    6. The reason for the blank page is so I can file the report in a ring binder, with an index, and start each new group with a first new page of records.

    Any ideas?

    Thanks

    Alan.

  • #2
    Re: Forcing a Blank Page in a Report

    My only comment would be that forcing a blank page may not achieve what you want either. Eg if a group fills two pages (front and back) forcing a blank page would effectively put the start of the next group on the rear of the next page.

    What you need to do is keep the groups to a even amount of pages. Eg if group = 1 page then 2, if group = 2 then leave at two, if a group equals 3 then make 4

    Alas I have no answer for that
    -----------------------------------------------
    Regards
    Mark Pearson
    [email protected]
    Youtube channel
    Website

    Comment


    • #3
      Re: Forcing a Blank Page in a Report

      Thinking it through further. You could actually run an automated print job based on one group at a time. Might take a little longer but I think would achieve your goal. I take each set is grouped by an id.

      Do a report print loop based on one ID at a time.

      It may be as simple as running a script like


      IDs= <<%str%
      1
      8
      9
      %str%

      for each x in Ids

      PRINT_REPORT(Report_Name as C,"FieldId = " + x.value)

      Next
      Last edited by Clunes; 04-10-2010, 01:38 AM. Reason: Added script
      -----------------------------------------------
      Regards
      Mark Pearson
      [email protected]
      Youtube channel
      Website

      Comment


      • #4
        Re: Forcing a Blank Page in a Report

        Hi Alan,

        Not sure of the exact answer here but feel that the use of MRECNO() in an IF() would come into play.

        My thoughts are that there is a need to count the number of lines on the page used in the Break on Change-> Expression in addition to the field name that you have at the moment.
        Regards
        Keith Hubert
        Alpha Guild Member
        London.
        KHDB Management Systems
        Skype = keith.hubert


        For your day-to-day Needs, you Need an Alpha Database!

        Comment


        • #5
          Re: Forcing a Blank Page in a Report

          Mark & Keith,

          Thanks for your reply's, been away all day and just returned.

          Will look into both suggestions and get back to you.

          Still willing to take any other solutions, the shop is open!

          Regards

          Alan

          Comment


          • #6
            Re: Forcing a Blank Page in a Report

            Alan:
            This very same question was asked I'd say sometime in the last couple years or so. I posted a zip file example. This is not a commentary on your searching skills or efforts. I know more often than not it isn't easy finding what you want but it's there.

            If you can't find it, in essence all it does is check if the first page of the group is an odd or an even numbered page. If even, it will force a blank page thus no new group will start at the back of the last page of the previous group.

            You certainly don't want to force blank page after each group otherwise some groups might start on an even page, meaning the back of it (the face, the odd number page) will be blank. Not what you want.

            Comment


            • #7
              Re: Forcing a Blank Page in a Report

              G,

              Thanks for the hint. It took me a while but found your zip in V7, 11/28/2007 under the title: "Insert Blank Page on Duplex Printing". Will open it on my development machine tomorrow.

              Alan

              Comment


              • #8
                Re: Forcing a Blank Page in a Report

                Whoops, it can be found here.

                http://msgboard.alphasoftware.com/al...ert+blank+page

                Comment


                • #9
                  Re: Forcing a Blank Page in a Report

                  Hi Alan,

                  It will be interesting to see what you come up with when you set the page size to A4.

                  Also, the other issue is printing the page number on ALL pages. That is if this is something you wanted to do.
                  Regards
                  Keith Hubert
                  Alpha Guild Member
                  London.
                  KHDB Management Systems
                  Skype = keith.hubert


                  For your day-to-day Needs, you Need an Alpha Database!

                  Comment


                  • #10
                    Re: Forcing a Blank Page in a Report

                    Morning/Afternoon Keith,

                    Tested G's solution and it works great, one to save in your reference file.

                    Background to my report:

                    1. Based on a set one-to-many
                    2. Report has a Page Header, 4 Group breaks, a Detailed section and a Page Footer.
                    3. Some of the Group breaks have no data and are used to collect information in a defined order.
                    4. Other Groups have only a Header, only a Footer or both.
                    5. The Page Footer is used for G's calculation on a RFT field.

                    With so many Groups it took me a while to get the properties right for each Group i.e. Keep together on page and/or Start each group on a new page, but finally I nailed it.

                    Now to answer your questions:

                    A) Tried it with A4 paper size and it works correctly.

                    B) Page numbering has a small problem, you can use the system PageNumber ok, but, if you use the system PageXofY the X is Ok but the Y counts all the pages i.e. including blank pages.

                    It's great when a plan comes together!

                    Regards

                    Alan

                    Comment


                    • #11
                      Re: Forcing a Blank Page in a Report

                      Page numbering could be modified in any manner you need. You don't have to use the system's numbering (x of y).

                      Comment

                      Working...
                      X