For instance, my query has 24 fields, and all 24 are listed in a column on
t
he report with a horizontal line between each one. However, 1 or more of
those fields may be null values on a given report depending on the query
parameters. When I created the report, I inserted all 24 fields in the
report grid and drew a horizontal line between them. My report now shows
all
24 fields whether or not they contain data.
Now I am trying to find out if there is a command that will tell Access to
look at the field and close up the space and maybe even delete the line if
the field contains a null value. The resulting report would only show
those
items that had data and close up the space where the field was a null
value.
In essence, it the report would be compressed or reformated as it printed
depending on whether there was data in the field.
Thanks.
Jeff Boyce said:
Reports in Access reflect their underlying source ... a query or a table.
When you say "unused rows ...[in] the detail [band/section]", what do you
mean? Usually, an Access report will only have rows in the detail
section
that reflect the data from the underlying source.
Can you provide a more specific example?
Regards
Jeff Boyce
Microsoft Office/Access MVP
Is there any way to delete certain data from my report and have access
reformat the report automatically by removing the unused rows from the
detail
field?