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

Frustrating: Creating report from a child table's entry (embedded browse)

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

    Frustrating: Creating report from a child table's entry (embedded browse)

    Hi everybody,
    I'am allmost mad, can't solve the following problem.

    I created the following set: person-invoice-item (each 1:many). I positioned a tabbed object (3 tabs) on this set with an embedded browse on each tab (person, invoice, item). After a lot of trouble this tabbed object with embedded browses works (lucky ...).

    But now I chose for example customer miller (tab 1) and his invoice #4 (tab 2). And for that invoice I want to print a report (invoice). But Alpha5 does not print the report for the invoice in question, but for each invoice of the customer ... Does anybody have an idea?

    Never thought that an application might as complicated as this ...

    Thanks a lot
    Roland.

    #2
    Re: Frustrating: Creating report from a child table's entry (embedded browse)

    But Alpha5 does not print the report for the invoice in question, but for each invoice of the customer ... Does anybody have an idea?
    Alpha will print a report based on what you tell it to do. That's the power and complexity of it. Telling it what you want.

    What is the filter for the report?
    There can be only one.

    Comment


      #3
      Re: Frustrating: Creating report from a child table's entry (embedded browse)

      Stan,
      I did not define a filter so far. I just want to choose a record in the embedded browse and tell alpha to print a defined report just for that record.
      Thanks
      Roland

      Comment


        #4
        Re: Frustrating: Creating report from a child table's entry (embedded browse)

        Originally posted by rolstra View Post
        I just want to choose a record in the embedded browse and tell alpha to print a defined report just for that record.
        I'm afraid it is not that simple. Unless you want all records you have to have some filtering.

        The filter can be defined in the report. The report can be told to use "Current selection of records". The report can prompt the user for the filter at the time it is called.

        "Current selection" is not the currently hilighted/chosen record on a form or in a browse. "Current selection" is the range of records chosen by some other filtering or query.
        There can be only one.

        Comment


          #5
          Re: Frustrating: Creating report from a child table's entry (embedded browse)

          Hi Stan,
          thanks that was the solution. I defined a filter with prompt - the user must enter the invoice number. So the correct invoice (report) is printed. Thank you very much.

          By the way: Alpha5 is not that easy it is promised to be (compared to other apps ...). A lot of possibilies that is true - but not always the easy way.

          Best wishes from Austria
          Roland

          Comment


            #6
            Re: Frustrating: Creating report from a child table's entry (embedded browse)

            HI Folks.
            I am a newbie here, so please pardon the lack of knowledge etc.
            I to am trying to print a report based on a single record from contents of a set. I have a button on my form and want to print the current record. Surely there must be a way to filter on the current record without having the user to enter the record number.
            Perhaps someone can help

            Many Thanks
            Alan

            Comment


              #7
              Re: Frustrating: Creating report from a child table's entry (embedded browse)

              Originally posted by alanmccabe View Post
              Surely there must be a way to filter on the current record without having the user to enter the record number.
              Perhaps someone can help

              Many Thanks
              Alan
              Well, it just so happens there is. And please stop calling me Shirley (Airplane joke:))

              In the OnPush of your button using action scripting choose Print a Layout from the Reports category. Choose the report and set any other options as desired. Click next to go the next page of the genie. Here you can choose which records to print. The fourth choice is 'Current record only'.

              That should get you going.

              Also the print button on the standard form toolbar an be set for current record or selected records.

              And finally, welcome to the forum.
              Tim Kiebert
              Eagle Creek Citrus
              A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

              Comment


                #8
                Re: Frustrating: Creating report from a child table's entry (embedded browse)

                Great Movie by the way.

                Thanks for your reply.

                I dont appear to have that option?

                I am using s set not sure if this make a difference. The letter/ report runs with all records.

                Regards
                ALan

                Comment


                  #9
                  Re: Frustrating: Creating report from a child table's entry (embedded browse)

                  I'm glad you got that! ;)

                  Hhmmm very interesting. Let me get back to you on that one. It should be there.
                  Tim Kiebert
                  Eagle Creek Citrus
                  A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                  Comment


                    #10
                    Re: Frustrating: Creating report from a child table's entry (embedded browse)

                    Ok, something weird going on here. Something akin to that movie refered to earlier.

                    Go through the steps that you have done and just choose that top selection as you have it in your screen shot. Finish the genie.. You now have the action in place in the editor. Now edit the action and you will find the current record choice. Hhmm, looks like one of those little insect thingies. I will submit a bug report as soon as i can.

                    You could also use the second choice: Records that match the value.....
                    Choose a field and control combination that would yield the current record such as an id field.


                    EDIT: and I haven't even posted the reply yet. You don't need to finish the genie. Just hit next to go the record selection page (as in the screen shot) then hit the back button and then next again to return to the same page and voila it appears.
                    Tim Kiebert
                    Eagle Creek Citrus
                    A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                    Comment


                      #11
                      Re: Frustrating: Creating report from a child table's entry (embedded browse)

                      Originally posted by alanmccabe View Post
                      I have a button on my form and want to print the current record. Surely there must be a way to filter on the current record without having the user to enter the record number.
                      Perhaps someone can help
                      Alan, Tim,

                      I have the option to select current records. But that applies to a filtered table. If what is wanted is point to a parent record and just see it, and if you have designed your parent table to have a field containing a unique id for each record, you could use the second option as the control to pull only the current record in focus.

                      By the awy: v8:1827:3121
                      Mike W
                      __________________________
                      "I rebel in at least small things to express to the world that I have not completely surrendered"

                      Comment


                        #12
                        Re: Frustrating: Creating report from a child table's entry (embedded browse)

                        Thanks for all your help folks
                        Ok so I open alphasports and edit the invoice form the button called print current invoice the option for current record is available. If I go back and change to a different report or letter the option disappears. Perhaps this will help.

                        Thanks Again

                        Al from sunny Ireland :(

                        Comment


                          #13
                          Re: Frustrating: Creating report from a child table's entry (embedded browse)

                          Al - (nice name...) ;)

                          If the report that you are running from the button is based on the same table/set as the form is based on, then you can get the current record only option.

                          If the report is based on any other table/set, then that option is not valid.

                          An alternate method is to filter the report on a value on the form and select those records for the report. You will find this is another option of action scripting...
                          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


                            #14
                            Re: Frustrating: Creating report from a child table's entry (embedded browse)

                            Originally posted by Al
                            If the report that you are running from the button is based on the same table/set as the form is based on, then you can get the current record only option.

                            If the report is based on any other table/set, then that option is not valid.
                            Yes, so maybe Alan you could clarify for us if this your situation. Are both the form and report based on the same table or set?

                            Not with standing the above I still see some weirdness happening.

                            Try this in Alphasports. Use the Vendors form: it has no existing print buttons. And the Products by Vendor report: It has no filter defined and additional filtering radio control is set to none. Now while viewing the form I want to print the report and include only the current record. On the toolbar use the standard alpha print button using the dropdown arrow and choose Print current record. This is just to prove that printing the current record is a legitimate task in this instance as far as the form and report being compatible.

                            Now put the form in design mode and place a new button there on.
                            Using action scripting choose Reports category then the Print a Layout action.
                            Choose the Products by Vendor report.
                            Click Next. You should now be at the select records page of the genie.
                            At his point I do not have the choice of 'Current record only' or 'Currently selected records'
                            Click the back button.
                            Click the Next button.
                            At this point I do have 'Current record only' and 'Currently selected records'.

                            Anyone see this??
                            Tim Kiebert
                            Eagle Creek Citrus
                            A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                            Comment


                              #15
                              Re: Frustrating: Creating report from a child table's entry (embedded browse)

                              Hi Tim,

                              Sad to say but the problem does not manifest itself for me. Running version 1827 build 3121. I can see both options right away.
                              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