Page 1 of 4 1234 LastLast
Results 1 to 15 of 56
  1. #1
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65

    Creating a report with null's not showing

    I am creating a report
    Name Report ID Tax Period Ending Form Number IRS Use only
    I have it set up but for each name there may be multiple tax period and form number lines
    Name ReportID Tax Period Ending Form Number IRS Use Only
    Brown, John XYZ 2009 1040A
    Brown John XYZ 2008 1040C



    I do not want null's to show so if blank in Tax period ending and Form Number the line does not show. Can this be done?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Likely those records shouldn't exist in the first place, but you should be able to base the report on a query that excludes them.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Is your report based on a Table or a Query?

    If it is based on a query, you can have criteria in your query that exclude all the rows that you don't want to see [the ones that have Nulls in Tax period ending and Form Number].

  4. #4
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    It is based on a query. What would I use in Criteria

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Is Not Null
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    I tried that period ending 2 and form 2 and it then does not show anything in that field if it is not null I know I am doing something wrong

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Hard to debug without knowing your data structure and such. Can you post a sample db to test on?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    sure. how and where? I created it on a network can it be worked outside of thisd network?

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You should be able to post it here, after compacting and zipping. It should work if it's self contained; it won't if the data is coming from a server.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65

    Here is the database

    Here is the db. I used 7z The report is Ives, query same name

  11. #11
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    In my view the database is not properly normalized, with those repeating fields (form1, form2,...). What are you going to do when they decide to have 5? I think the forms and years should be in a related table. If you decide to keep it like it is, you can get rid of the blanks using the Can Shrink properties of the controls and the detail section.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  12. #12
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    The years will always be 4. The report Ives once finished will go to IRS and they only accept 4 years. I am trying to keep it simple. I really appreciate you looking at it. What would you suggest that would not require a complete rewrite.

  13. #13
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You mean besides:

    Quote Originally Posted by pbaldy View Post
    If you decide to keep it like it is, you can get rid of the blanks using the Can Shrink properties of the controls and the detail section.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  14. #14
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    Not sure what you mean besides. I am a frustrated novice stuck and I just do not know where to head. Guess that is why I am relying on the pros to help.

  15. #15
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Each textbox has a Can Shrink property, as does the detail section. Setting those to Yes (and getting rid of the repeated name and tin fields, since they'll never be blank) will get your look. See attached.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Page 1 of 4 1234 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report Showing ID number and not the name
    By tipopilotas in forum Reports
    Replies: 11
    Last Post: 07-20-2015, 03:21 PM
  2. Report not showing all records
    By tyguy in forum Reports
    Replies: 6
    Last Post: 05-06-2011, 09:04 AM
  3. Not showing records with null sum
    By eww in forum Queries
    Replies: 3
    Last Post: 04-04-2011, 03:10 PM
  4. Showing OpenArgs in a Report.
    By SIGMA248 in forum Programming
    Replies: 2
    Last Post: 04-01-2011, 11:57 AM
  5. Null Values not showing up in a Query
    By Valli in forum Queries
    Replies: 0
    Last Post: 01-04-2006, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums