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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making A Field Not Visible 1

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
hello,

i have a field called object class in the report.
based on an if statement in visual basic. I want to either make the field visible or not visible.

I have the code so far in the open event in the report -

If Forms!Frm_Selection_Criteria.optObjectClass = True Then
me.ObjectClass............

Normally if it was in a form i would write -
Me.ObjectClass.Visible = False

But it doesn't work in the report.

Any help is greatly appreciated.

THANKS!
 
Hi!

Try putting the code in the on format event of the section in which the control (ObjectClass) resides.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top