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

Error in Printing & viewing of simple report

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

    Error in Printing & viewing of simple report

    Hello,

    I have a simple report for a table which contains five fields, Invoice #, Customer ID, Name, charge and date. All located in the detail section, The records are serached for a date, the detail section contains a total. When I print the report it displays some records multiple times & prints the same as displayed. These records should only print once in the detail section. The calcuations are always correct when I total the charge field for the quanity of records found in my search for a certain date, Searching for different date results sometimes with the correct printing and viewing of one for each of the records. I have noticed when I check the same date the same incorrect duplication of display & print of report appears. Many thanks to those that helped on my last request for dot matrix printing and multiple pages problems. With your help I was able to get fast printing and with a new report created with out a subreport everything worked great. Note report is printed on laser printer.

    #2
    Re: Error in Printing & viewing of simple report

    Ron

    The first thing I check on a report is the set that the report is based on.

    I build a browse to show the data as the report writer sees so I can determine if my logic in building the set is correct.

    While you mentioned that it is a simple report, I hearing that this is a set where there is a relationship between tables. Start with the set and make sure it's doing what you've intended. Then look at the report again.

    Otherwise, a lot more details are needed from you - like a sample of the data and the report.
    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


      #3
      Re: Error in Printing & viewing of simple report

      Al has given you some great advice. Here's a link to the webhelp on Designing Reports on one to many sets.

      You also mention that the details section contains totals. this seems strange. The details section is for details. Totals are generally found in one of the section footers.
      There can be only one.

      Comment


        #4
        Re: Error in Printing & viewing of simple report

        Thanks AL & Stan for your response, I have a browse table in a form which displays the same fields as the report, It allways displays the records correctly. Yes this is a set, The fields I am using are all from the table named header, which have 2 one to many links, a transaction table and a payments table, and a customer table with one to one link. Being fairly new to Alpha5V7 I am not sure I understand, do I insert a browse table in the report to see if it displays correctly ? The table header has aprox 38,000 records it it which came from my old alpha4v4 header from the application I have been using for over 20 years. I am using my customer table from my alpha4v4 also. All my records display correctly and all the calculations are correct for The invoices being displayed in alpha5v7 and alpha4v4. This whole conversion from alpha4v4 application to alpha5v7 has worked very well, this is the last problem I am trying to overcome then I will switch to my new system. I have been able to use all the data created using alpha4v4 and now can use it better in alpha5v7. I know this may not be enough information to help on this question. Thanks again for your responses.

        Comment


          #5
          Re: Error in Printing & viewing of simple report

          Originally posted by RonBeanCET View Post
          do I insert a browse table in the report to see if it displays correctly ?

          No, build a separate browse to show the data and it's relationships. From that you'll get a better idea of how the report writer is 'seeing' the data. I know you mentioned a browse within a form. That adds another level of complication to displaying the data.

          Start with a browse based on the set and display enough data from each table to show how the relationship looks.

          It's a simple step, but clarifies a lot.

          What you are experiencing is the 2 one - many relationships and how the data is presented. You'll understand it a lot more after you build the browse.
          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


            #6
            Re: Error in Printing & viewing of simple report

            And take a look at sub-reports.
            There can be only one.

            Comment


              #7
              Re: Error in Printing & viewing of simple report

              Thank you Al for your assistance, after doing what you suggested with the browse, I had multiple records for the same invoice # which is a unique number for each invoice, I have found that when I created the set I made a mistake in how I linked the Tables and I don't think it is going to be easy to correct, I had the header as the primary table with a one to one link to my customer table, then I had my transaction and payments links as one to many. I should have started with the customer table linked to header with a one to many link, then the transaction table and payment table linked to header with one to many links. I can't find anyway to change that in editing the set, so I will need to create a new set with the correct links, any suggestions ? also I want to thank Stan for his subreport suggestion.

              Comment


                #8
                Re: Error in Printing & viewing of simple report

                Ron

                Glad that you found the issue. That's what using a browse on a set will do...

                Now for changing a set. Easy to do.

                BACKUP BACKUP BACKUP....

                Your situation is the most complicated, but still easy. You have to change the primary table of the set.

                The only way I know to do this is to create a new set. Give the new set a different name than the original set.

                Then go to each of the objects in the original set and right click - copy to - the new set. Then you'll have all of your work saved in the new set.

                Then you want to get rid of the original set. You can drop it from the database, or delete it from the database..your choice, I usually delete. But you may want this set for another purpose.. In that case decide what to do with the objects that you copied and rename the ones that you keep to a unique name.

                Oh did I mention have a backup..???
                At this point you can test and play.

                You can do this faster than it took for me to type this out... Believe me, I've done it before.....
                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

                Working...
                X