Missing directive for hierarchical_group in MSDN Crystal Reporting Tutorial

I was working on the MSDN tutorial for Crystal Reports, and I got to the point of linking the inline report to the CrystalReportViewer management step:

When I try to build, it tells me that I am missing the using declaration for the Hierarchical_Grouping class. This causes me two questions ...

  • What is the namespace for this class definition?
  • Is there an easy way to define the namespace of a given class?

In another answer, I saw the sentences "ALT, SHIFT, F10" and "CTRL, [period]" for intellisense, but they do not work in my Visual Studio.

I'm sure I did something ridiculously stupid .... sorry in advance ....

Here is the code for the form:

 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; namespace CrystalTest3 { public partial class Form1 : Form { private Hierarchical_Grouping hierarchicalGroupingReport; public Form1() { InitializeComponent(); } private void ConfigureCrystalReports() { hierarchicalGroupingReport = new Hierarchical_Grouping(); crystalReportViewer.ReportSource = hierarchicalGroupingReport; } private void Form1_Load(object sender, EventArgs e) { ConfigureCrystalReports(); } } } 
+6
source share
1 answer

I assume you are referencing this tutorial.

Hierarchical_Grouping seems to refer to a report file that will contain a class called Hierarchical_Grouping . Have you added a report to your project?

The report should be somewhere in these Sample Report Directories .

+1
source

All Articles