Solved

MS Data Report Question

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

705 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

14 Experts available now in Live!

Get 1:1 Help Now