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

Blank Rows in Report

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

    Blank Rows in Report

    I've searched the message board for both v5 and v6 for this issue but no luck. Here's the deal...

    I have an invoice report in which six (6) empty rows appear in each sub-report. (See jpg) If I enter the invoice number into the reports' sub reports as a filter, only three (3) blank rows appear. If I run the report from a button on the CustomerInvoice form, all six (6) rows appear.

    I've checked each table and there are no blank records. I've done packing and database compact. I removed all parent and child records from the database except for one customer.

    Another issue: with only one record in the database, when I open the CustomerInvoice form from the CP, it opens to a blank record. It did not do this with more than one record in the database. I've also checked the forms' events; there are none.

    Any ideas why the blank records appear in the report and why the Customer Invoice form opens to a blank record?

    Thjanks....kenn
    TYVM :) kenn

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

    #2
    RE: Blank Rows in Report

    Would this happen to be based on a set with a one to many link where you are seeing blank composite records from the parent-child relationship?
    There can be only one.

    Comment


      #3
      RE: Blank Rows in Report

      Hello Ken,

      Do you have multiple one-to-many child tables in the set being reported on? Even if you don't have fields from 'another' one-to-many child table on the report, Alpha is still 'paging' through them and certain objects on the report can cause these 'other' records to take up space. ie: calculated fields that may print a format character, etc. Make sure your region is set to shrink.

      Good luck,
      Jim

      Comment


        #4
        RE: Blank Rows in Report

        Hi Stan and Jim,

        Oh Duh!! Yes, I'll create a new set for this report.

        Thank you for clearing out the trees. The forest is clear again.

        kenn
        TYVM :) kenn

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

        Comment


          #5
          RE: Blank Rows in Report

          OK...I created a new set, Invoice_Header as the parent, Customer as a 1:1, Invoice_Items as 1:Many and Repairs as 1:Many. The 2 1:Many relationships are sub reports. I set all regions in the report and both subreports to 'Shrink'.

          THe attached jpg show the results. Hmmmmmmm. Next suggestion please.

          Thanks....kenn
          TYVM :) kenn

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

          Comment


            #6
            RE: Blank Rows in Report

            Ken, while converting an A5-V5 app to A5-V6 I ran into a problem with a report that worked perfectly in V5, but was acting up, (like yours,) in V6. After messing around with it for too long, I just put conditionals in the subreports, suschandsuch field " "" (or maybe suchandsuch " 0), and made the conditional shrink - fixed it.
            Cole Custom Programming - Terrell, Texas
            972 524 8714
            [email protected]

            ____________________
            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

            Comment


              #7
              RE: Blank Rows in Report

              Hello Ken,

              Just to see if we've barking up the right tree, try taking out the '$' formating and say "blank if zero". Now see what the report looks like.

              Jim

              Comment


                #8
                RE: Blank Rows in Report

                This would be wild (probably wildly off the mark) but I wonder if there could be any connection between this problem and part of the problem I was having with Xbasic exports producing lines in the export file that should not have been there. Not likely, I suppose, but not likely things do happen. Selwyn's solution to my problem probably isn't applicable. I don't think it helps much, but here's the thread anyway:

                http://msgboard.alphasoftware.com/alphaphorum/read.php3?num=15&id=12810&loc=0&offset=0&sortby=lastreply&direction=desc&thread=12810

                Good luck.

                Ray Lyons

                Comment


                  #9
                  RE: Blank Rows in Report

                  Martin,

                  I'll have to give it a try

                  Jim,

                  Attached is the results of your suggestion. gettiing better but.....

                  Thanks...kenn
                  TYVM :) kenn

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

                  Comment


                    #10
                    RE: Blank Rows in Report

                    Well, things got a bit too quick. Here it is..........
                    TYVM :) kenn

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

                    Comment


                      #11
                      RE: Blank Rows in Report

                      Well, that miss wasn't my fault so........
                      TYVM :) kenn

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

                      Comment


                        #12
                        RE: Blank Rows in Report

                        Attaching a zip file if anyone wants to 'mess around' a bit.

                        Thanks....kenn
                        TYVM :) kenn

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

                        Comment


                          #13
                          RE: Blank Rows in Report

                          Hi Ray,

                          Thanks for the wild suggestion. It may be wild, I dunno. I'm not able to figure out how it might apply to mine since I'm not filtering.

                          kenn
                          TYVM :) kenn

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

                          Comment


                            #14
                            RE: Blank Rows in Report

                            Hello Ken,

                            OK, that looks better. So now we know that what we are seeing is Alpha stepping through the other child table, and as you have a format definition on the numerical fields, it was printing the "$" for these 'other' records. You should be able to tell Alpha to format the numerical fields with a dollar sign "$", but blank if zero. Then make sure the region is set to shrink. This should do it.

                            Good luck,
                            Jim

                            Comment


                              #15
                              RE: Blank Rows in Report

                              Ken,

                              Use of group breaks in each subreport seems to get you closer to the goal. I think the problem is related to to the set based composite records Stan mentioned at the top.

                              -- tom

                              Comment

                              Working...
                              X