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 Possibilities

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

    Report Possibilities

    I have 2 1 to many tables. The 1st needs a group, and the 2nd doesn't. The 1st needs to print first, the 2nd second.

    I also need a report footer, which I need to have justify to the bottom of the page.

    While I can put the 2nd at the top of the footer, it looks very bad, that way, when justified to the bottom of the page.

    Has anyone else ever run into something like this?
    Cole Custom Programming - Terrell, Texas
    972 524 8714
    [email protected]

    ____________________
    "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

    #2
    RE: Report Possibilities

    Maybe its just too late in the day for me, but I really don't understand exactly what it is you want. I have written many reports in a 1-"many set, all with headers, group footers, reoprt footers, and page footers. Could you explain, a little more clearly, possibly with examples, what it is you are trying to do? I am sure someone has done what you would like to do.

    Tom

    Comment


      #3
      RE: Report Possibilities

      Thanks for responding, Tom.

      The report has a header, two one to many child tables, and a report footer.

      The nature of the report is such that the 1st child table requires a group. And the 2nd table doesn't.

      The table with the group needs to print just below the header, and the table without a group needs to print just below this.

      And the footer needs to justify to the end of the page.

      I have wrestled with this for 2 days - but can't figure out any way to do it.

      The closest I have come is to put the 2nd table(with no group) as a sub report in the footer, but then I can't justify to bottom without it appearing badly.

      If you scroll down in messages (to next 20) look for report question - I have 2 jpegs there - one in design and one of the report.
      Cole Custom Programming - Terrell, Texas
      972 524 8714
      [email protected]

      ____________________
      "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

      Comment


        #4
        RE: Report Possibilities

        Martin,

        The solution will ultimately be with subreports, but you will need test different options. I often put subreports in a group footer or report footer, but also try putting both of them in the detail section. The 2 subreports would be the only thing in the detail section, with the subreport with a group first, and the other subreport below it.

        Then the page footers may work for you.

        Bill.

        Comment


          #5
          RE: Report Possibilities

          Thanks Bill. Yes I agree, subreports is the only way to go here.

          This is one of those things you think there must be a way around.

          If I put both subreports in the detail section, it prints the subreport with the group second, and the group without first. I can drag one above the other, but it still prints in that order.

          I tried putting the second in the group footer for the first - but it still prints the same way - like it prints the report groupfooter above the group.

          I also tried making 2 groups (even though there would technically be no break with the 2nd group), and putting the second subreport in the second groupfooter - but it prints the same way - with the 2nd subreport before the 1st subreport.

          Maybe the report writer cannot handle this kind of scenario.
          Cole Custom Programming - Terrell, Texas
          972 524 8714
          [email protected]

          ____________________
          "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

          Comment


            #6
            RE: Report Possibilities

            Once you put filters in a subreport, you can start getting strange results. Sounds like this might also be true with groups. Usually you can play around with them and get things to work.

            I've no reason to suggest the following except that it is something additional to try: Create a set just for this report. Try reversing the order of adding child tables to the parent of the set structure and see if it helps.

            Assuming A and B are child tables:
            SET1 Parent =A =B
            change to
            SET2 Parent =B =A

            Comment


              #7
              RE: Report Possibilities

              Thanks John,
              That was an excellent idea. Unfortunately, it doesn't change anything.

              I have the report working, where I put the 2nd subreport in the report footer. Its just that since there is "footer type" stuff also in the footer, if I justify to the bottom, it looks bad, becasue the "detail subreport" is now wayyyy down at the bottom, too.
              Cole Custom Programming - Terrell, Texas
              972 524 8714
              [email protected]

              ____________________
              "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

              Comment


                #8
                RE: Report Possibilities

                Enclosed is a stripped down version
                If anyone has time to look
                1. When it boots up to the main menu, click on Log In Form
                then in that form
                click the "Print" button
                at the dialog option, select Preview One Only

                scroll down to the bottom of the page - the Department/Test Type, etc. is a subreport in the footer
                then note the footer type stuff below it.

                I've tried everything I can think of, but I cannot put the 2nd subreport anywhere but in the footer, and have it print 2nd, below the first subreport.
                Cole Custom Programming - Terrell, Texas
                972 524 8714
                [email protected]

                ____________________
                "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                Comment


                  #9
                  RE: Report Possibilities

                  Could you put the group in the sub report?

                  Comment


                    #10
                    RE: Report Possibilities

                    I tried that, but didn't work. I deleted the group, put the first subreport in details, and then put a group in the subreport, and the 2nd subreport under it - in theory it should work, but hasn't so far.
                    Cole Custom Programming - Terrell, Texas
                    972 524 8714
                    [email protected]

                    ____________________
                    "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                    Comment


                      #11
                      RE: Report Possibilities

                      Hello Martin,

                      Check out this example. I call this my "multiple detail" trick :-) By defining a group but making it break at recno() you essentially have another detail section.

                      I don't know your structure, so you may need to modify this for your real report, but my guess is that something in this neighborhood will work for you.

                      Also, be cautious of multiple subreports in a single report. I and others have had problems with them not showing record when one of the subreports is empty. Apparently Alpha has been able to duplicate this issue so I'm hoping a fix will be coming soon.

                      Good luck,
                      Jim

                      Comment


                        #12
                        RE: Report Possibilities

                        Thanks Jim, I really appreciate your time.

                        Unfortunately, it still prints them in the wrong order; i.e., it prints the

                        I had also tried a version of your approach - except breaking on Labnum instead of recno() - but I really like the idea of recno().

                        You would think, that since there are 2 groups and both with a break, it wouldn't care which one prints first.

                        I suspect there is some sort of hidden rule, like if one of the subreports has 2 columns then print it first, and the others second. E.G., Starting from scratch, if I make a group for the table that would normally have a break, and set its break - it names it group1. But when I make a 2nd group on any other table (or recno()) it makes the new one group1 and renames the first to group2.

                        I have had good luck with and really like subreports, although I typically have to fiddle with things a bit to get them to work the way I want.
                        Cole Custom Programming - Terrell, Texas
                        972 524 8714
                        [email protected]

                        ____________________
                        "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                        Comment


                          #13
                          RE: Report Possibilities

                          Hello Martin,

                          ""Unfortunately, it still prints them in the wrong order; i.e., it prints the ""

                          You didn't complete the above. I'm missing something, as the example I sent prints in the order that I thought you were looking for. Can you re-explain to me in what way the order is incorrect in the example I sent you?

                          Jim

                          Comment


                            #14
                            RE: Report Possibilities

                            Sorry, got lobbed off.

                            The table [Travelerprtnum] that breaks on "partkey" that prints in two columns, is supposed to be above the 2nd table [logintests] that either has no break, or that would break on recno(). Also note that the report is filtered to only print one parent: "labnum=var-"labnum"
                            Cole Custom Programming - Terrell, Texas
                            972 524 8714
                            [email protected]

                            ____________________
                            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                            Comment


                              #15
                              RE: Report Possibilities

                              Martin,

                              I hate to be dense, here is what I see when I preview your travelers report.

                              ""The table [Travelerprtnum] that breaks on "partkey" that prints in two columns, is supposed to be above the 2nd table [logintests]""

                              It appears Travelerprtnum is first, and I don't see 'two columns'. Could you mark up this jpeg so I can figure out what you are wanting?

                              Thanks,
                              Jim

                              Comment

                              Working...
                              X