Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

MS Data Report Question

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
b3cf
Asked:
b3cf
1 Solution
 
anvCommented:
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
 
b3cfAuthor Commented:

Thanks alot.

The exact syntax is something like

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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now