Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / October 2005

Tip: Looking for answers? Try searching our database.

Conditionally visible line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack - 21 Oct 2005 15:25 GMT
Hello,

Is there a way to set the visibility of a line that is located in the detail
section of a report according to a value in the current record? The line's
visible property does not seem to accept a formula.

Regards,

Jack
Duane Hookom - 21 Oct 2005 16:52 GMT
If you have a control in your report's detail section like

  Name: txtMaxFlowRate
  Control Source: [MaxFlowRate]
and a line:
   Name: linMaxFlowRate

You can add code to the On Format event of the detail section like:
 Me.linMaxFlowRate.Visible = (Me.txtMaxFlowRate > 2000)

Signature

Duane Hookom
MS Access MVP

> Hello,
>
[quoted text clipped - 6 lines]
>
> Jack
Jack - 21 Oct 2005 18:10 GMT
That's true. Thank you!

Jack
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.