Solved

MS Data Report Question

Posted on 2004-10-15
2
134 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 50 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

696 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