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

Report groups on new page

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

    Report groups on new page

    I'm trying to create a group on a report, where each group is on a new page.

    There's a checkbox on the Region tab of Group Properties, named Start each group on a new page.

    Checking that always produces a blank first page, so that for a 3 group single page (per group) report, 4 pages are produced.

    Is that normal behavior? Do I misunderstand what that checkbox is supposed to do?

    I can place a page break in the group footer, and that works for every group with at least 1 detail record, but groups with no detail records always at least show the group header (which could just contain text or labels), followed by the group header for the next group that does contain records in the detail section.

    Another strange observation: checking the Keep with detail checkbox in the Headers section on the Group Properties Head/Foot tab crashes Alpha on advancing to page 2 when in preview mode. This is with multiple systems (Vista, Win7) running build 2727-3521.

    Anyone have any suggestions on how I can get groups to start on a new page but avoid the blank page at the start of a report?

    #2
    Re: Report groups on new page

    Checking that always produces a blank first page, so that for a 3 group single page (per group) report, 4 pages are produced.
    There are myriad combinations of

    start each group on new page
    keep group together
    report header, footer, continuation header
    page header, footer, continuation header
    group header, footer, continuation header
    detail section, header, footer, continuation header
    justify any of the footers to bottom of page

    You will have to experiment to see what combination will produce your desired output or provide a sample database for more precise advice.
    There can be only one.

    Comment


      #3
      Re: Report groups on new page

      The continuation headers always seem to give me this kind of grief.

      Comment


        #4
        Re: Report groups on new page

        Thanks for the replies. The problem with the myriad combinations is that what seems to be the most straightforward doesn't work, namely Start each group on a new page.

        I attached a simple example of a 5 record table that should produce 3 groups. Clicking that setting (if I understand it correctly) should produce 3 pages, but it produces 4.

        Should it work?

        Comment


          #5
          Re: Report groups on new page

          If you don't need any kind of intro to your report then remove the report header. If you want each page to have some kind of repeating header for each page then add a PAGE header to the group.

          A report header is the initial section of the report, before any detail pages (including groups) are printed. You could include a multi page document in the report header.

          A page header appears at the top of every page to which it is assigned. There is also a hierarchy of which page header takes precedence if different report sections have a page header defined.
          Tim Kiebert
          Eagle Creek Citrus
          A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

          Comment


            #6
            Re: Report groups on new page

            Thanks, Tim. Removing the report header does stop the group header from producing a blank page.

            But I need both a report header and a group header. And that doesn't explain why clicking that checkbox produces a blank page, since the 2 types of headers aren't necessarily mutually exclusive.

            Maybe the answer is simply that this just doesn't work the way the checkbox label suggests?

            Comment


              #7
              Re: Report groups on new page

              What is the purpose of the report header. ie what will it contain or what info will it display?
              Tim Kiebert
              Eagle Creek Citrus
              A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

              Comment


                #8
                Re: Report groups on new page

                The kind of things report headers usually contain: report title, report date, company name, etc.

                Comment


                  #9
                  Re: Report groups on new page

                  Sorry, I should have posted this before asking the question

                  Removing the report header does not really keep the group header from creating a blank page. The blank page is caused by the fact that there is a report header defined for the report and you have not placed anything in the report header. The report header begins the report. It does not begin the page.

                  Now that you have removed the report header edit the properties of the group. In the Head/Foot tab of the dialog check 'has page header'. This will add a header area to each page.

                  See this page
                  Tim Kiebert
                  Eagle Creek Citrus
                  A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                  Comment


                    #10
                    Re: Report groups on new page

                    Thanks for your suggestion, Tim, but it's not quite what I need. A page header and a report header are 2 different things.

                    In the simple example I cooked up, the report header is blank, as you said. But it doesn't matter if you add one or not. It prints the report header, then nothing for the rest of the 1st page, then starts the 1st group on page 2.

                    And I suppose that is one interpretation of the Start each group on a new page setting, since the 1st group IS a group, so it triggers a new page, hence page 2. In the strictest sense, that checkbox is doing what it says. But what it should say is Start each group after the first group on a new page.

                    It is possible to get some combination of headers that don't trigger this effect, but it seems that it's not possible to have a report header and a group header without doing so. And we haven't even gotten to Tom's favorite, continuation headers.

                    Comment


                      #11
                      Re: Report groups on new page

                      Bill,

                      It is good to see we are on the same page (pun inteneded) as to page and report headers. :)

                      Yes, I was taking the label Start each group on a new page to mean to include the first group as you explain. Personally, I think that is the behaviour I would prefer. I guess that is why I did not consider your requirement till you outlined it a bit more clearly in you last post.

                      I thought of something else that may work for you as a work around. Don't use the Start each group on a new page setting but place a page break (from the toolbox) in the group footer. This allows you to use the report header. Trouble with this method is that it forces the report footer on to a new page. Just moves the problem to the end of the report.
                      Tim Kiebert
                      Eagle Creek Citrus
                      A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                      Comment


                        #12
                        Re: Report groups on new page

                        Thanks for the suggestion, Tim. I had the same thought in my original post, and it may have the undesired consequence you mentioned (I don't recall checking for that), but it had another one that killed it for me: groups with no detail records got a detail header.

                        In thinking about this more, there are 2 ways to act on the Start each group on a new page checkbox. One is to force the new page at the start of the header. This is what Alpha is doing. I originally thought a better approach would be to force the new page after producing the footer. If Alpha's goal was to separate groups from report headers & footers, it would need to force a new page before each group footer and after the last group footer, but it doesn't do that. The result of just forcing a new page after either the header or footer, as you sort of suggested, means you can have the inconsistent result at the beginning of a report or the end of the report, but you can't eliminate it.

                        I now think it would be better to be able to separate report groups completely from report headers/footers (as in distributing a sales report grouped by sales rep to each rep), and that can be accomplished by simply putting a page break at the start of the report footer. So, I'm happy because as a result of the discussion I've learned that I no longer want what I originally wanted.

                        Comment

                        Working...
                        X