Solved

Using "IsVisible" on a report

Posted on 2008-06-26
2
488 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
ID: 21876153
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
ID: 21876496
Try this syntax

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

930 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

12 Experts available now in Live!

Get 1:1 Help Now