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

Print From Sorted Form Not Sorted in Printout

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

    Print From Sorted Form Not Sorted in Printout

    Running Alpha Five Version 9. Have a form with a record pointing to list of sorted items. If I print the record from the form view which includes the items, the items do not come out sorted in the printed list.

    I seem to have to create a report to print the form with the list of items printed in the sorted order.

    Is there a way to print from the form view with sorted items and have the sort preserved in the printout of the items? It would be a lot easier than creating a report.

    #2
    Re: Print From Sorted Form Not Sorted in Printout

    Ronald,
    My understanding is the form/browse printing functionality of Alpha is rudimentary at best....but a report showing the form is so easy to do that this is not really a major limitation. Create a new report-->top menu-->Report-->choose Import from the bottom of the drop-down list and then choose the form you want. Then call this report from however you are now trying to print the form say from a button OnPush event script. Buttons and some other things won't show up but have had decent success and is very easy to do this way.
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________



    Comment


      #3
      Re: Print From Sorted Form Not Sorted in Printout

      Mike,

      Thank you for pointing out the import of a form into a report. It does not import the Sorted attribute, but that is easy to add.

      Comment


        #4
        Re: Print From Sorted Form Not Sorted in Printout

        I have tested this import of a form into the design of a report further. The sort specification cannot be added to the design of the report which includes the imported form. The Print Genie does not seem to allow specifying the sort combined with a record selection.

        I recommend severe warnings be included when importing a form into the design of a report. Manually constructing the Report to match the form seems to be the only way.

        Comment


          #5
          Re: Print From Sorted Form Not Sorted in Printout

          Ronald,
          The Print Genie does not seem to allow specifying the sort combined with a record selection....recommend severe warnings be included when importing a form into the design of a report
          I guess I am at a loss as to how you would possibly be able to change an imported form after it is imported....or stated another way--how could this possibly be done as it seems to defy the sequence in that when one imports anything, any manipulation is done prior, not after the fact. If the inability to change something in the form after importing is the reasoning behind the warnings you wish placed and you still think they should be added, then I don't follow the logic....and more of an explanation maybe could clarify my confusion.

          If a sort is wanted is it not possible to do so prior to the form import?? If this does not suit your needs then absolutely create your own report from scratch and you will find that once a few reports are created, it actually does not take all that much time to do for the basic ones.
          Mike
          __________________________________________
          It is only when we forget all our learning that we begin to know.
          It's not what you look at that matters, it's what you see.
          Henry David Thoreau
          __________________________________________



          Comment


            #6
            Re: Print From Sorted Form Not Sorted in Printout

            Mike,
            My original post on this thread stated "Have a form with a record pointing to list of sorted items." I tried to Import, as you suggested, from this very form into a Report so I could print exactly what showed in the original form on the screen. The Import did NOT PRESERVE the sort. Should this be a bug report? I could not find any specification for Import in the Help to find exactly what Import of a Form does do nor what the lmitations are.

            Comment


              #7
              Re: Print From Sorted Form Not Sorted in Printout

              Ronald,
              You could send this in as a bug...but it may or may not be. The only way to be fairly certain is to have such things verified here on the messageboard with step by step instructions and most likely (in this case as well) a sample which illustrates/duplicates the bug --which is something that usually is created for a bug report anyway. I cannot test it out as I have version 8--although likely if it is a bug it would manifest itself in v8 too. I just know that the form I have with an embedded browse, I have successfully imported the form into a report and it shows exactly what I see, in the order I have it in. It is possible you are doing something different that is causing a problem that could be cured or worked around....only a sample would enable someone to attempt such a fix I would think at this point.

              Whatever you decide!! :)
              Mike
              __________________________________________
              It is only when we forget all our learning that we begin to know.
              It's not what you look at that matters, it's what you see.
              Henry David Thoreau
              __________________________________________



              Comment


                #8
                Re: Print From Sorted Form Not Sorted in Printout

                Mike,

                Is your sample source form based on a set with a one to many relationship where the sort is sorting on the many items for each record?

                Comment


                  #9
                  Re: Print From Sorted Form Not Sorted in Printout

                  Ronald,
                  My form is based upon a set that has a One-to-One relationship to the relevant child table. The embedded browse is based upon the parent and has both parent and child fields. Sorting is first done on 3 child fields and then one parent field....so a total of 4 fields used in the sort.

                  The above works. Other variations may as well. Apparently yours does not, but without actually having it to experiment on, who's to know if it is a design problem or a bug. You could very well have a base query or other things that conceivably could be causing a problem.
                  Mike
                  __________________________________________
                  It is only when we forget all our learning that we begin to know.
                  It's not what you look at that matters, it's what you see.
                  Henry David Thoreau
                  __________________________________________



                  Comment


                    #10
                    Re: Print From Sorted Form Not Sorted in Printout

                    Mike,

                    I would have to copy my database and put in fewer entries and no real data. If that still demonstrates the problem I guess I would send it in to Alpha. No one puts a whole design with sort specifications etc on the forum for review do they?

                    Ron

                    Comment


                      #11
                      Re: Print From Sorted Form Not Sorted in Printout

                      No one puts a whole design with sort specifications etc on the forum for review do they?
                      Mostly the samples are just cut back versions of the problem database if it is large with dummy data----just make sure it has everything that is required to reproduce the problem and give step by step instructions to generate the problem. I have seen almost complete applications presented here as well....if you have scripts and such that you don't wish others to see or copy then don't have them in your sample--include only what you need to then.


                      Later:I just created a form with a child based embedded browse that uses a One-to-many set and all sorts are passed to the report that has the imported form.

                      So........lets get this resolved as either a bug in v9 or an apples vs oranges scenario with what I do and what you do. :)
                      Last edited by MikeC; 12-30-2008, 01:00 AM.
                      Mike
                      __________________________________________
                      It is only when we forget all our learning that we begin to know.
                      It's not what you look at that matters, it's what you see.
                      Henry David Thoreau
                      __________________________________________



                      Comment


                        #12
                        Re: Print From Sorted Form Not Sorted in Printout

                        Mike,
                        Thanks for pursuing this with me. I have prepared a zip file of all 15 files of the data base.
                        The budincom table is the parent table with three records representing three budgets.
                        The budexp3 table is a table of expense items related to budincome by Field incomeid.
                        budgets is a set defining the one to many relationship using incomeid as index with Order Expression on INCOMEID.
                        If you do a default browse on budexp3 you will see that the entries are not in alphabetic order.
                        The Form Budgets displays a record at a time showing budget ID 1 with the items sorted. The sort is specified by going to the Design view, right click on the parent portion, click on properties,click on the Filter/Order tab, highlight the child Budexp3, notice the Order Expression "Expenitem".
                        The items show sorted in the View Form. They do not show sorted in the Design.

                        I built the Report BudgetImport.
                        Select Report tab
                        Clicked on New for New Report and selected budget.set
                        Selected "Start from a blank report"
                        Select Report on top menu of Alpha
                        Select Form
                        Select Budgets
                        Click OK
                        Save

                        I hope you can show me what will make this work.
                        The items do not come out sorted for me.

                        I am going to attempt to send this message as it is for now. When I click on Manage Attachments, the system says I am not logged in, but the top of this screen says I am logged in.

                        Ron

                        Comment


                          #13
                          Re: Print From Sorted Form Not Sorted in Printout

                          Here is the attachment. I will have to check whether the description made it. I saved the description in case I have to send that again.

                          Comment


                            #14
                            Re: Print From Sorted Form Not Sorted in Printout

                            Took a look at your sample. Are you trying to get the items at the bottom of your report to list in alphabetical order? If so, I think you can do it by double clicking on your subreport and then right click on your detail header. That should open up your detail properties. Click on Records and and fill in the Order expression with Budexp3->Expenitem.

                            Hope this helps and is on the mark.
                            "Ollie, remember how dumb I used to be? Well, I'm much better now."

                            Pete

                            Comment


                              #15
                              Re: Print From Sorted Form Not Sorted in Printout

                              Just finished looking as well and found the same as Pete...also go into your form detail section and change to none as far as record order and filter as it does not seem to need any further filtering.

                              A bit more than what I had to do but then I was using a one-to-one set and you have a one-to-many and perhaps this is why the difference.
                              Mike
                              __________________________________________
                              It is only when we forget all our learning that we begin to know.
                              It's not what you look at that matters, it's what you see.
                              Henry David Thoreau
                              __________________________________________



                              Comment

                              Working...
                              X