Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide Detail if field is Null

Status
Not open for further replies.

MochaLatte

Technical User
Jan 11, 2011
39
US
I need to hide detail section (eliminate space) if specific field is null.
 
Hi Duane! Thanks for your suggestion. Filtering the query is not an option. There are other fields on those specific record that need to be displayed on other sections (groups)of the report.
 
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)

Cancel = (IsNull(Me.TxtDetail))

Is this code Incorrect? Something is not working
 
Is txtDetail the "specific field"?

You can't just state "Something is not working" without providing some description of what is or isn't happening that should or shouldn't be happening.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top