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

Repeating sections in reports

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

    Repeating sections in reports

    I am trying to show more than one repeating section on a report, but either only one will show, or it shows each repeating record from one for each record in the other, or nothing at all. I have tried many different ways and have tried things such as sub-reports but cannot get it to show correctly. The data source is MySQL and the tables are joined as a one-to-many.

    Any help would be greatly appreciated.
    -JR
    J.R.
    Epigate Software, LLC.

    [email protected]
    http://www.epigate.com
    sigpic

    #2
    Re: Repeating sections in reports

    This is a totally useless reply, but if you solve your problem, I would be interested in knowing how you did it as well as what you've already tried.
    Alpha Anywhere latest pre-release

    Comment


      #3
      Re: Repeating sections in reports

      Sarah, I have tried so many things I don't know where to start. I have tried using subreports, putting group breaks in the parent, group breaks in the subreports, trying detail sections, you name it and I have probably tried it. Seems simple, but it is not. If I do figure it out, I will let you know.
      J.R.
      Epigate Software, LLC.

      [email protected]
      http://www.epigate.com
      sigpic

      Comment


        #4
        Re: Repeating sections in reports

        Hi JR,

        Sometimes we overlook the simplest of details. I had a similar problem. What is the Linking you are using?
        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: Repeating sections in reports

          Hi Keith, I am sure it is something simple that I overlooked but as I said, I have tried everything. I am sure it is not a linking issue, only because if I use either of the repeating sections/subreports separately it works fine. It is only when I try to use two or more on the same report that it does not work. I cannot be the first person to experience this or need this, since this is a common report type, so I know there is an answer out there somewhere.
          J.R.
          Epigate Software, LLC.

          [email protected]
          http://www.epigate.com
          sigpic

          Comment


            #6
            Re: Repeating sections in reports

            I hope you do not take this as an insult...

            Do your joins look like this?

            Parent
            ----->One2many
            ----->One2many

            or

            Parent------>One2many------>One2many


            if that makes sense, lol
            in other words are the joins both to the parent or is the second 1-2-M joined to the first 1-2-M table instead of the parent?
            NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

            Comment


              #7
              Re: Repeating sections in reports

              Both child tables/subreports are linked to the parent, no grandchildren.
              Parent unique id field is called "compid" and each child table has that as a foreign key field and linked correctly in MySQL.
              Thanks Charles, no insult taken here.
              J.R.
              Epigate Software, LLC.

              [email protected]
              http://www.epigate.com
              sigpic

              Comment


                #8
                Re: Repeating sections in reports

                There has to be a solution to this. All other report writing tools allow this to be done very easily, but I cannot figure out how to get it done in Alpha. I am at my wits end and can't release any recent changes until this reporting issue is resolved.
                Either of the sub-reports work great when using just one, but as soon as the second sub-report is added to the parent report, one of them will quit showing correct data and will repeat each of the records for each record in the other sub-report. The linking is correct in MySQL, and I have gone through the forum and tried anything close to the same problem and still not working correctly.

                Someone has got to have the answer to this, or at least point me in the right direction. I would appreciate any help at all.
                J.R.
                Epigate Software, LLC.

                [email protected]
                http://www.epigate.com
                sigpic

                Comment


                  #9
                  Re: Repeating sections in reports

                  Have you tried creating a unique key to each child table? just to test? would it work then? just add an additional field in each table. As you may know I am not an alpha expert by any means, but I don't see anyone else taking a stab at it, lol!
                  Ther'es always the "support ticket"
                  Selwyn seems to respond FAST, especially early in the morning!
                  NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                  Comment


                    #10
                    Re: Repeating sections in reports

                    I welcome any stabs at it Charles. I have been stabbing at it for weeks.
                    Each of the child tables have a unique id/key. All my tables utilize a unique id. It don't matter if the unique id is included in the sub-report or not either.
                    This has to be doable. Most applications, web based or not have one-to-many tables which reports are built from, so it seems like a simple issue. I am guessing once I find what the problem is I will kick myself for missing it. I have tried putting the sub-reports in every section of the parent report, I have set the linking to the correct link fields and it makes no difference.

                    I hate to, but I may have to ask Selwyn for help.
                    J.R.
                    Epigate Software, LLC.

                    [email protected]
                    http://www.epigate.com
                    sigpic

                    Comment


                      #11
                      Re: Repeating sections in reports

                      Hi JR,

                      Can you post a screen shot of the Properties for your Sub Report object.
                      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


                        #12
                        Re: Repeating sections in reports

                        Sure Keith.
                        I have attached 3 images. One showing the report in design mode with the sub-report properties. There is a report showing what the report should look like, which is used in our desktop application (created with other software, not Alpha) and an example report from the Alpha application showing the problem of repeating child records.



                        Complaints_design2.jpg Design mode
                        Complaint_desktop.jpg What we want it to resemble. No repeating child records.
                        Complaint_alpha.jpg What the report looks like when run. Shows repeating child records.
                        J.R.
                        Epigate Software, LLC.

                        [email protected]
                        http://www.epigate.com
                        sigpic

                        Comment


                          #13
                          Re: Repeating sections in reports

                          Hi JR,

                          Your filter in the Properties dialog does not make sense to me.

                          Have you tried it with just the table name in the Filter on Table?
                          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


                            #14
                            Re: Repeating sections in reports

                            Yes, I have tried everything possible. It works either way, but the "compid" is the primary key in the parent and the foreign key in the child.
                            J.R.
                            Epigate Software, LLC.

                            [email protected]
                            http://www.epigate.com
                            sigpic

                            Comment


                              #15
                              Re: Repeating sections in reports

                              but the "compid" is the primary key in the parent and the foreign key in the child.
                              I dont think the filter is seeing it that way.
                              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

                              Working...
                              X