Solved

Using "IsVisible" on a report

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

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

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

777 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