A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

making controls invisible



 
 
Thread Tools Display Modes
  #1  
Old January 19th, 2005, 10:12 PM
w
external usenet poster
 
Posts: n/a
Default making controls invisible

Hi all,

I want to be able to toggle a control's visibility off
when a certain condition is met.
E.g. : if control.value = 0 or control.value = null then
me.control.visible = false
endif

But dat does not seem to be working in a report.

Can anyone help ?

Thank you very much,

W
  #2  
Old January 19th, 2005, 10:28 PM
fredg
external usenet poster
 
Posts: n/a
Default

On Wed, 19 Jan 2005 14:12:23 -0800, w wrote:

Hi all,

I want to be able to toggle a control's visibility off
when a certain condition is met.
E.g. : if control.value = 0 or control.value = null then
me.control.visible = false
endif

But dat does not seem to be working in a report.

Can anyone help ?

Thank you very much,

W


In the Report section Format event that the control is in:

[AControl].Visible = Not (IsNull([AControl]) Or [AControl]= 0)
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making controls' tab order/layer attributes persistent AliKwok Using Forms 1 November 18th, 2004 02:54 AM
Making subreport labels invisible when there is no data in the subreport John Baker Setting Up & Running Reports 1 July 28th, 2004 05:08 PM
Making formulas invisible from formula bar Paul B Worksheet Functions 3 June 1st, 2004 07:46 PM
Making control invisible crashes Excel James Duncan Worksheet Functions 2 May 5th, 2004 03:07 PM


All times are GMT +1. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.