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

hiding a text box during printing

Status
Not open for further replies.

Aqif

Programmer
Apr 27, 2002
240
AU
Hi :)

On my report there is a text box which just says:

This is a print preview version.

I just got a simple problem that I dont want to print that text box during printing. Can i do it with altering some property or code ?

Cheers!
Aqif
Cheers!
Aqif
 
I beleive if you use the OnPrint property of the section that contains the text box and place the following code:

Me![name of textbox].visible = False

That should do the trick.... The secret to creativity is knowing how to hide your sources. - Albert Einstein [spin]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com
 
Dear Robert:

When I did what u suggested then the text box even got invisible during print preview. I only want it not to be printed during printing but visible during preview.

Cheers!
Aqif
Cheers!
Aqif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top