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!

How to set a textfield to NOT visible in a report using VBA

Status
Not open for further replies.

amcodah

Programmer
Jul 9, 2003
80
0
0
NO
Hi, I seem to have problems figuring out how to set a textfield in a report to not visible. At forms it works fine by using Me.Name.Visible = False etc.. But this won't work at report fields.

I want to hide some textfields depending on the outcome of an If check. (prints warning message if user limit has exceeded)

Anyone have any idea on how to solve this?
 
Let me simplify the question:

What I'm looking for is the VBA code for hiding a textfield in a report. Any Ideas?
 
Me.textfield.visible = false.. yes that worked. I had an error in the report causing it not to work before.

Stupid me ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top