Re: How skip blank fields in Access Report?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Blank fields are never displayed in a report unless you display their
border. The controls will always shrink if you have their Can Shrink
property to Yes and their value is Null/empty.

If you want to close up empty spaces in reports, you can only do this where
no other (non-shrinking) control is located to the left or right of the
control you want to shrink.

--
Duane Hookom
MS Access MVP


"Ken" <Ken@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CC1AB607-2BFF-4317-A190-C2A3B25E4EF6@xxxxxxxxxxxxxxxx
>I have a database with 18 fields. I have data for the first three fields
>in
> all records but only some records have any data in some of the remaining
> 15
> fields (and always different fields). How do I prepare a report that will
> only print the fields that have data? In other words, how do I get my
> Access
> Report to just skip all the blank fields in a particular record? I tried
> "can shrink" but it still gave me blanks.
>
> Thanks!


.



Relevant Pages

  • Re: Hiding calculated field with null results
    ... A text box will shrink if its value is Null or "" or if it ... else (e.g. a line control) that's causing the problem. ... >each field on the report and for the detail section of the report. ... >Dim ANum As Boolean ...
    (microsoft.public.access.reports)
  • Re: Data on fom not displaying
    ... Forms are not designed for printing. ... You can't control the printout ... will print the appropriate report. ... It is set to display Always, ...
    (microsoft.public.access.forms)
  • Re: Formula for non-printing lines in Access Report
    ... I would like you to click on a text box that you want to shrink. ... Then print preview the report to see if the text box is visible. ... If in Design I click on a field it brings up the control border ... "Jeff Boyce" wrote: ...
    (microsoft.public.access.reports)
  • Re: 2 reports mix in 1 report?
    ... Note 1) Blank areas in the report can not shrink, ... Note 2) A text box will shrink if its value is Null, ... Note 3) If a control has an attached label, ... expect page header and page footer. ...
    (microsoft.public.access.reports)
  • Re: IIf Expressions gives me #Error
    ... If so, change the control name. ... I assume your objective is to display 0 if the SumOfHours column/field is ... > get a value in the report, not a sum. ...
    (microsoft.public.access.reports)