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

How do I in a Report??

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

    How do I in a Report??

    Using the convt_date field to yield the year, how do I use the year as the groupbreak? This make sense? I want the report to break on the year field and the year is derived from the convt_date field.

    Thanks,

    kenn
    TYVM :) kenn

    Knowing what you can achieve will not become reality until you imagine and explore.

    #2
    RE: How do I in a Report??

    Ken, does this not work for the group Break str(Year(convt_date),4,0)?

    Comment


      #3
      RE: How do I in a Report??

      No, it doesn't. "No such field"

      But, this allows the details to sort on the year break w/o putting the year in the gouup heading. Year(Criminal->Convt_Date)

      So, just need to get the Year data into the group header.

      Thanks,

      kenn
      TYVM :) kenn

      Knowing what you can achieve will not become reality until you imagine and explore.

      Comment


        #4
        RE: How do I in a Report??

        Jack,

        I added an extra ( at the beginning with the first (, so it reads

        Break str((convt_date),4,0,) but it returns a 'Function is not recognized'.

        kenn
        TYVM :) kenn

        Knowing what you can achieve will not become reality until you imagine and explore.

        Comment


          #5
          RE: How do I in a Report??

          Sounds like you're working in as set where the convt_date is in a child table. If so you have to refer to the field with the tablename->convt_date syntax.

          str(Year(tablename->convt_date),4,0)?
          There can be only one.

          Comment


            #6
            RE: How do I in a Report??

            I just successfully made a report grouped on Date from a child table (the parent table also has a field "Date" so it was extra necessary to specify the table. My expression is
            str(Year(Trans->Date),4,0)

            I also got the same result with
            Year(Trans->Date)

            Expression was put in the group properties; break on change in box.

            Steve Williams

            Comment


              #7
              RE: How do I in a Report??

              Steve and Others,

              I have my group break running fine with the expression suggested. What I need is to have the yYEAR show in the group header at every year break. I could't find where A5 allows for a field to be created on the report via an expression. The only place I found where an expression could be written is in the filter/s.

              That is why I created the YEAR field in the table. It actually contains no data so if an expression could be written to produce the year form the Convt_Date field and be able to either populate the year field or put the expression on a field in the group header, I'd have the problem solved.

              Hate to say this, but this is an easier than easy thing to do in a report for A97. Oops. Perhaps V5 will have a little more to the quick report genie.

              Also as a question of interest, when using the quick report genie, groups with totals, is there some extra specal reason why the totals appear they way they do rather than at the bottom of each column where they should be?

              Thanks,

              kenn
              TYVM :) kenn

              Knowing what you can achieve will not become reality until you imagine and explore.

              Comment


                #8
                RE: How do I in a Report??

                Ken,

                I assume you have the report working with a group expression like: year(Criminal->Convt_Date). At least, this is the easiest way to do it. I just tried it and verified that you can get the field from the child table using the drag-and-drop box in the report editor. (NOTE: This whole comment assumes you are using the report editor. I seldom use the genies because (a) I'm used to doing it the "hard way", and (b) I find I go beyond the genie capabilities to often.)

                To get that group expression, I first created a group on the date only. (Actually, any field would do just to create the group.) Then I right clicked the "group" line and opened the group properties. Next, click the drop-down for "break on change in" and click the "expression> box at the very top of the list. Now you can either use the drop-down lists or type in the function and field to change the break to whatever expression you need.

                Once you have the correct group expression, you can use the report "DragDrop" list to insert a "New Calc/Summary Field> in the header and use the "New Calculated Field" expression builder that pops up automatically to define the new field. Of course, it should be defined exactly the same as the group break field in this case.

                By the way, I hope none of this sounds too complicated. It takes FAR longer to explain this than it does to do it.

                Comment


                  #9
                  RE: How do I in a Report??

                  I just tried the report genie to see what you meant about the group totals. (I can't remember the last time I used a genie!) I've seen this type of layout used quite commonly with accounting. It's a lot easier to read totals when they are NOT directly below the column. Also, sometimes you may want to "total the totals" and it makes more sense when they are in separate columns. Personally, I prefer them this way as long as the report isn't too crowded to allow the extra space requird.

                  I even make my spreadsheets look like this when using them for presentation to groups or management. (Although I usually put the totals to the right of the column and the A5 report I created put them to the left.) OK, Microsoft probably doesn't do it the same way. But, like your mother probably used to say, "Just because everyone else does it that way it doesn't make it right."

                  Comment


                    #10
                    RE: How do I in a Report??

                    "The only place I found where an expression could be written is in the filter/s. "

                    Aside from Cal's suggestion, you can define a calculated field for the report and "expression" to your heart's content. The calculated fields are available via the drag-drop list and have the added benefit of being subject to the "evaluate" button in the expression builder. This means you can tweak your expression, evaluate it, and be sure you have defined it correctly.
                    There can be only one.

                    Comment


                      #11
                      RE: How do I in a Report??

                      Cal, Stan,

                      I went over Cal's suggestion carefully and learned a thing or two. The education I've received from several of you this week end has 'broadened my horizons' to say the least. Some of you folks must be a walking A5 text book!! To that end, I am greatful.

                      Sometimes you may wonder if I try to find the solutions as much as I can before I post and I do. None the less, I appreciate your patience.

                      Thanks,

                      kenn
                      TYVM :) kenn

                      Knowing what you can achieve will not become reality until you imagine and explore.

                      Comment


                        #12
                        RE: How do I in a Report??

                        "Some of you folks must be a walking A5 text book!! "

                        If, by that, you mean we are out-of-date, incomplete, hard to follow, and sometimes just plain wrong... I take offense.

                        If you mean something else, never mind.
                        There can be only one.

                        Comment


                          #13
                          RE: How do I in a Report??

                          Stan,

                          I said, "The education I've received from several of you this week end has 'broadened my horizons' to say the least. Some of you folks must be a walking A5 text book!! To that end, I am greatful."

                          I'd say this is a complement, meaning I am very greatful for the help I've received form those of you who are very, very knowledgable with A5. I'm confused at to why you would be offended or why you think I believed you or others were outdated?

                          kenn
                          TYVM :) kenn

                          Knowing what you can achieve will not become reality until you imagine and explore.

                          Comment


                            #14
                            RE: How do I in a Report??

                            Lighten up Ken....

                            Half of what I say is in jest. I was making fun of the Alpha manuals, if not the content, at least the organization. You referred to your helpers as walking manuals, and you meant it earnestly I know, in terms of getting answers to problems. Do you see the irony? If the manuals were more up to date, better organized, better indexed, more searchable, offered more examples...... we might not need as much help. Not that I haven't enjoyed and learned from every minute I've spent on the board.

                            Sorry you took it that way. I just wanted you to enjoy the joke.
                            There can be only one.

                            Comment


                              #15
                              RE: How do I in a Report??

                              Still playing with the HTML. I didn't mean for the font size to be that big.
                              There can be only one.

                              Comment

                              Working...
                              X