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 Current Record Problem with Child Record

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

    #16
    RE: Print Current Record Problem with Child Record

    Russ,
    You are the greatest!!! This solution has really solved my problem. No special coding. I created the inverse set - Reservation.set (Reservations -> Demographics) instead of (Demographics -> Reservations). Created a new field in my reservation table called Print_Record. Then used Print_Record as a field on my Reservation and Confirmation forms. Created Print Buttons on the Guest Information form (has data from both tables) and used Events to select the forms for the INVERSE set. Then used my Print_Record as the "Value from the control on a form".

    I've been working on this problem for 4 days. I tried report definitions but they did not work for this application either. You are truly my hero tonight. I'd be more than happy to send you a dinner gift certificate to the restaurant of your choice.

    P. S. This should definitely go to the Tips bulletin.

    Comment


      #17
      RE: Print Current Record Problem with Child Record

      Please see my response to Russ Boehle. He gave me a great way to accomplish what I need. I tried the Print Report route but it had the same problem selecting a single child record as the form route did. I still believe it's a deficiency in Alpha5 - but nonetheless, I've got a solution for the problem and can now proceed with the upgrade project. Thanks for your attention to the matter.

      Comment


        #18
        RE: Print Current Record Problem with Child Record

        It is very disappointing that V5 seems to have similar shortcomings to V1. I feel I have wasted $99.

        Why is it not possible to print a report (based on a set) for the current record being viewed? Why give a "current record" option in scripting if it doesn't work. I don't want the hassle of "reverse sets" etc.

        If this is just my ignorance I apologise in advance!

        Comment


          #19
          RE: Print Current Record Problem with Child Record

          Hi Deb:

          Glad to hear that Russ was so helpful and your problem is resolved.

          Have fun with Alpha Five and I suspect you will fall in love with this product as you use it on a regular basis.

          Robert T.

          Comment


            #20
            RE: Print Current Record Problem with Child Record

            Tim, I think most believe that the term 'current record' when applied to a set based report or form is meant to refer to the current primary table record AND all linked child table records. For folks interpreting it this way the action script works as advertised. This thread contains three different ways of producing the single composite record report you seem to be seeking. None involve a great deal of work. -- tom

            Comment


              #21
              RE: Print Current Record Problem with Child Record

              "the current primary table record AND all linked child table records"

              This IS what I want the report to give but it doesn't. I select current record but I get all the records. Isn't this a bug? Likewise when I select File/Print Current Record/Form I get the current record only, but when I select File/Print Current Record/Report I get all records. I guess this means a fault in my report definition? I had hoped a database package for "Home" users would be more straightforward!

              Comment


                #22
                RE: Print Current Record Problem with Child Record

                Tim,

                I'm talking reports, sounds like you're talking forms.

                Have you tried using Action scripting to put a button on your form, programmed to print a specific report, but filtered to include only the current record ?

                -- tom

                Comment


                  #23
                  RE: Print Current Record Problem with Child Record

                  I am talking reports, I just observed that File/Print Current Record/Form works, but File/Print Current Record/Report doesn't.

                  I put a button on the form to print my report and then under "specify record selection criteria to apply in addition to those defined in the layout" I selected "current record only".

                  I still have the same problem, and several other things I tried didn't work either.

                  Comment


                    #24
                    RE: Print Current Record Problem with Child Record

                    Since there are 1000s of programmers using A5 and 100's that regularly visit this forum, someone here knows the answer. Can you zip and post the table/set that's giving you the problem so someone can take a look.

                    Comment


                      #25
                      RE: Print Current Record Problem with Child Record

                      Tim, I fear your difficulty may be self-inflicted. Here's a simple example that uses action scripting to print a set based report for the 'current record'.

                      Unzip the attachment to an empty folder.

                      The script is on the only button on the only form in the database.

                      Hope this helps to ease your frustrations.

                      -- tom

                      Comment


                        #26
                        RE: Print Current Record Problem with Child Record

                        Tim,

                        I agree with you that A5 is really lacking in the "print current record" functions -- whether it be form printing or report printing; single child record or all child records. I got my workaround with the reverse set logic for single child record) and a calculated field that created a control for the child record(s). But it was a clumsy way to solve that problem and I fear that response time may become an issue every time users attempt to print a document. But no one seems to want to jump on our band wagon and the Alpha people seem to be in denial. C'est la vie!

                        Comment


                          #27
                          RE: Print Current Record Problem with Child Record

                          Deb,

                          I guess you didn't find my query approach feasible?

                          In any case, the method you chose to print the desired report will have a big impact on it's performance or speed. If the report is based on the inverted set, you can pass the filter key expression in the call that runs the report. If the filter expression you pass to the print or preview method qualifies for LQO then you'll get virtually instanteous response. Is this not what you're seeing ?

                          I recall another thread, originaled by Cal Locklin in which he discussed his findings on the fastest ways to print filtered reports. You might try searching this forum, and the A5V4 forum to see if you can find it.

                          -- tom

                          Comment

                          Working...
                          X