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!

I want to hide a feild on an Ac

Status
Not open for further replies.

Mahatmt

Programmer
Jan 28, 2003
28
0
0
US


I want to hide a feild on an Access 2000 Report. I have done this before, but for som reason can not get it to work.

I have a hidden field on the report. if that field is NULL i want to hide other field, but it does not seem to work even though the debugger steps through it and appears to work - the field are still shown.

Here is ny code:

If Me.HiddenExpText = "" Or IsNull(Me.HiddenExpText) Then
Me.ExpText.Visible = False
Else
Me.ExpText.Visible = True
End If


Thanks.
 
where is your code? in the DETAIL FORMAT event?

you can also add
Code:
... or len(me.HiddenExpText)=0...

sort of like ="" just another way to catch if there's nothing in it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top