?
Solved

MS Data Report Question

Posted on 2004-10-15
2
Medium Priority
?
135 Views
Last Modified: 2010-05-02
Hi

  Could Someone advice me on how I could set the visible property of a detail field in a MS Data Report from VB 6.

Any help is greatly appreciated.

thanks
0
Comment
Question by:b3cf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
anv earned 200 total points
ID: 12325998
hi try this
before u show ur report

DataReport1.Sections(3).Controls(2).Visible = False
'Where section(3) is the detailed section..
'Controls(2) is the control in the control collection of the datat report u want to hide..

DataReport1.Show
0
 

Author Comment

by:b3cf
ID: 12330219

Thanks alot.

The exact syntax is something like

   DataReport1.Sections(4).Controls.Item(4).Visible = False
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 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