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

Group By Totals in Report

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

    Group By Totals in Report

    Could someone please point me into the right direction.

    I had a look at the sample database and had a look at the help file but could not find the answer.

    I have an employee field where the data gets entered each time they perform a task. There is another field that stores the numeric value.

    eg each job performed gets a value of 1.

    Each time employee A performs a task they get a value 1 and so on for each employee.

    Just want to create a basic report with staff name and total sum of jobs performed showing in a report with the first row of data showing the highest completed jobs descending down.

    An Example:

    1. Employee A 50
    2. Employee B 47
    3. Employee C 43
    4. Employee D 35
    5. Employee E 31
    6. Employee F 26
    7. Employee G 15


    I understand these will need to be grouped in the report. Tried a few different ways but no success.

    Thank You

    #2
    Re: Group By Totals in Report

    Hi Joseph,

    Have a look at Summarize Operations. This will do all the hard work for you and you build your report on the result 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


      #3
      Re: Group By Totals in Report

      Thanks for your help Keith.

      Just wondering if there is more of a simple way of doing this instead of needing to run code, click ok to append in message box to get results then transferring this data into a report.

      Joe

      Comment


        #4
        Re: Group By Totals in Report

        Hi Joe,
        click ok to append in message box to get results then transferring this data into a report.
        I dont understand what this means. When you run the summarize operation the result is in a new table in exactly the format of your first thread. You build your report on this new table. Nothing to append or transfer.

        There is another way using calculated fields, but I find this gives greater control over the output.

        Have a look at TABLECOUNT()
        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: Group By Totals in Report

          Keith,

          Can you pls direct me towards the first 2 steps with your suggestion.

          Eg where is the first point in Alpha 5 should I be to create a summarize operation?

          Thanks

          Joe

          Comment


            #6
            Re: Group By Totals in Report

            Hi,

            I have gone into the operations tab, created a new summarize operation and saved it.

            Each time it runs it gives you a warning message eg 27 records will be summarized blah blah.

            I have been playing with this off and on all day.

            I can not believe such a simple task that can be performed in Crystal Reports by grouping a group and ascending or descending the sum result takes way longer to
            figure out in Alpha 5 reports.

            Joe

            Comment


              #7
              Re: Group By Totals in Report

              Joe
              In setting up the summarise op you can select for it to run silently
              Set up an action script to first run that summary, then next run the report.
              ONE button click, begin to end.

              Comment


                #8
                Re: Group By Totals in Report

                OK, this is what I have done.

                1. I have created 1 Summarize Operation. The results come up in the new table.

                2. I have created an Action Script for the above and it now runs silent.

                3. I have created a new report with the new table the summarized options go into.

                I ran this and it seems to be working. I went into the table and changed the data and the new changes show up in the report
                when the report is tested.

                Is this correct?

                Now the only issue I have is the report still looks the same and is not like the following:

                1. Employee A 50
                2. Employee B 47
                3. Employee C 43
                4. Employee D 35
                5. Employee E 31
                6. Employee F 26
                7. Employee G 15

                So which step above would I need to edit so it shows the report like:

                1. Employee A 50
                2. Employee B 47
                3. Employee C 43
                4. Employee D 35
                5. Employee E 31
                6. Employee F 26
                7. Employee G 15

                I have opened up the Summarization operation but unlike Access Queries I don't see an Ascending or Descending
                option for the data field. If someone can help me with this it would be appreciated.

                Thank You

                Joe
                Last edited by wolf; 03-21-2013, 05:30 AM.

                Comment


                  #9
                  Re: Group By Totals in Report

                  In the report.
                  Forget trying to compare how Access does things, it may be getting in your way.

                  Comment


                    #10
                    Re: Group By Totals in Report

                    Thanks Ray.

                    Not really comparing Alpha with Access. Just trying to make sense of it all.

                    Got it working now by grouping the totals together.

                    Thanks for your help

                    Joe

                    Comment


                      #11
                      Re: Group By Totals in Report

                      Originally posted by wolf View Post
                      Now the only issue I have is the report still looks the same and is not like the following:

                      1. Employee A 50
                      2. Employee B 47
                      3. Employee C 43
                      4. Employee D 35
                      5. Employee E 31
                      6. Employee F 26
                      7. Employee G 15

                      So which step above would I need to edit so it shows the report like:

                      1. Employee A 50
                      2. Employee B 47
                      3. Employee C 43
                      4. Employee D 35
                      5. Employee E 31
                      6. Employee F 26
                      7. Employee G 15

                      I have opened up the Summarization operation but unlike Access Queries I don't see an Ascending or Descending
                      option for the data field. If someone can help me with this it would be appreciated.
                      Those 2 lists look the same to me.... What should the difference be?
                      Al Buchholz
                      Bookwood Systems, LTD
                      Weekly QReportBuilder Webinars Thursday 1 pm CST

                      Occam's Razor - KISS
                      Normalize till it hurts - De-normalize till it works.
                      Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                      When we triage a problem it is much easier to read sample systems than to read a mind.
                      "Make it as simple as possible, but not simpler."
                      Albert Einstein

                      http://www.iadn.com/images/media/iadn_member.png

                      Comment


                        #12
                        Re: Group By Totals in Report

                        Joe,

                        Not sure why you are "grouping the totals together".

                        Now that you know how to use one operation, I suggest you have a play with with Append and Post.
                        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


                          #13
                          Re: Group By Totals in Report

                          Hi Guys,

                          The reason I am grouping the totals together is so I can generate a report with how many jobs completed per employee.

                          Its been an interesting day to say the least. This took me no more than 15 minutes to achieve in Crystal Reports back in 2008 IN VS 2005 and I have been on this for about 8 hours in total today.

                          Its all a learning experience i guess and no I am not comparing. Just shows you the thought process the development team has when building this system from scratch.

                          Those 2 paragraphs are identical. Its the message I was trying to get through. After working my way how to do this I realised the data only shows totals per person with no data available from the table eg date so you can do a date range, managers name etc.

                          So I made a fix where one table set collects data from the source mentioned above into a report. Just working out how to add the date range so I can pull out the data via date range.

                          Thank you all for replying.

                          Joe

                          Comment


                            #14
                            Re: Group By Totals in Report

                            If you are saying that the result of your summary operation has the records in ascending order by jobs it would be a simple matter to order the report on invert(recno()) or invert(total_jobs_fieldname). You do this in the same Report menu, Properties dialog where you found out how to filter/select records.

                            There you might also choose to order on the total_jobs_fieldname and choose Descending.
                            There can be only one.

                            Comment


                              #15
                              Re: Group By Totals in Report

                              Thanks Stan,

                              I do hope I do pick this up as well as you have.

                              Its all just a matter of time I guess.

                              Comment

                              Working...
                              X