Solved

MS Data Report Question

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Restricting text box entry from \/:?<>"| 9 90
VBS file using code from 2nd file (txt or vbs) 4 38
SLMGR Switches Are Not Working On KMS Host 3 97
VB6 ListBox Question 4 45
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

825 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