Solved

Using "IsVisible" on a report

Posted on 2008-06-26
2
487 Views
Last Modified: 2013-11-28
I am trying to set the visible property of a text box (Issuer) based on whether or not another text box (Security_ID) is visible on the report.  I have the following in my control source:

=IIf(Security_ID.IsVisible,[Issuer],Null)

When I run the report, everything shows up #Error.

Thanks for any help
0
Comment
Question by:mak345
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 50 total points
Comment Utility
In VBA code...

If Me.Security_ID.Visible = False then
    Me.Issuer.Visible = False
else
    Me.Issuer.Visible = True
End
0
 
LVL 8

Expert Comment

by:masterjojobinks
Comment Utility
Try this syntax

=IIf(report!Security_ID.Visible = -1,report!Issuer.value,Null)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now