Can anyone help me and if it is a bug can Stimulsoft please correct it.
Error Message:
1.Error! The error of compilation
The error of compilatin is found in the 'Report' report:
The type 'Reports.Report' already contains a definition for 'ParentEntity'
Top part of the code after clicking Code button on message:
Code: Select all
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report()
{
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify
public Stimulsoft.Report.Dictionary.StiDataRelation ParentEntity;
public Stimulsoft.Report.Dictionary.StiDataRelation ParentERP_Debtor;
public Stimulsoft.Report.Dictionary.StiDataRelation ParentESA;
public Stimulsoft.Report.Components.StiPage Page1;
public Stimulsoft.Report.Components.StiWatermark Page1_Watermark;
public Stimulsoft.Report.Print.StiPrinterSettings Report_PrinterSettings;
public ESADataSource ESA;
public ERP_DebtorDataSource ERP_Debtor;
public ParentEntityDataSource ParentEntity;
public ImageDataSource Image;
XML Datasource:
Code: Select all
Note that I have nothing in my report and have simplified the XML but the issue also exists when I do have a full report and a schema.
All I have done is to open up the report designer, Create a new connection to the XML datasource, synchronised the datasource and clicked on the Preview tab.
thanks