Set Visible - Prev Record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report to summarize specs for jobs based on General specs, Floor
specs, Room Specs and Product specs. The report is created from a union query
pulling together all specs from 4 tables then grouping by General, Floor,
Room and Product. Some fields match the group above and I would like to set
the visible value to false if it matches the last value in the same named
field in the group above it. The hoped for outcome is to highlight null
values with conditional formating and print only <> values for quick
reference to the Project Managers and Engineers.

Any help is much appreciated.
 
Lori said:
I have a report to summarize specs for jobs based on General specs, Floor
specs, Room Specs and Product specs. The report is created from a union query
pulling together all specs from 4 tables then grouping by General, Floor,
Room and Product. Some fields match the group above and I would like to set
the visible value to false if it matches the last value in the same named
field in the group above it. The hoped for outcome is to highlight null
values with conditional formating and print only <> values for quick
reference to the Project Managers and Engineers.


You can use a text box in the group footer section to hold
the group's last detail's value. Set this text box's value
in the group footer's Format event:
Me.txtPrevXXX = Me.txtXXX
where txtXXX is the name of the text box bound to the XXX
field.

Then use the group header section's Format event to
manipulate the txtXXX text box:
Me.txtXXX.Visible = (Me.txtXXX <> Me.txtPrevXXX)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top