Rel 20210426
This commit is contained in:
@@ -23,6 +23,23 @@ namespace QW2021C.Resultate
|
||||
ReportDocument cr = new ReportDocument();
|
||||
cr.Load(rptfilename);
|
||||
|
||||
int i;
|
||||
//FormulaFieldDefinitions crFormulaFieldDefinitions;
|
||||
//FormulaFieldDefinition crFormulaFieldDefinition;
|
||||
//FormulaFieldDefinition=crim
|
||||
//Section section;
|
||||
|
||||
//int LoopFormula;
|
||||
//string FormulaName;
|
||||
//crFormulaFieldDefinitions = cr.DataDefinition.
|
||||
|
||||
//for (LoopFormula = 0; LoopFormula <= crFormulaFieldDefinitions.Count - 1; LoopFormula++)
|
||||
//{
|
||||
// crFormulaFieldDefinition = crFormulaFieldDefinitions[LoopFormula];
|
||||
// FormulaName = crFormulaFieldDefinition.Name;
|
||||
// Console.WriteLine(FormulaName);
|
||||
//}
|
||||
|
||||
switch (report)
|
||||
{
|
||||
case "Vierkampf.rpt":
|
||||
@@ -101,11 +118,26 @@ namespace QW2021C.Resultate
|
||||
|
||||
|
||||
string[] splitter = ortliste.Split(';');
|
||||
|
||||
int i;
|
||||
for (i = 1; i < splitter.Length; i++)
|
||||
|
||||
//int i;
|
||||
for (i = 1; i < 9; i++)
|
||||
{
|
||||
// CrystalDecisions.CrystalReports.Engine.TextObject MyTextObject;
|
||||
try
|
||||
{
|
||||
MyTextObject = cr.ReportDefinition.ReportObjects["Text" + i.ToString()] as TextObject;
|
||||
MyTextObject.Text = "";
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
for (i = 1; i <= splitter.Length; i++)
|
||||
|
||||
{
|
||||
// CrystalDecisions.CrystalReports.Engine.TextObject MyTextObject;
|
||||
MyTextObject = cr.ReportDefinition.ReportObjects["Text" + i.ToString()] as TextObject;
|
||||
MyTextObject.Text = "";
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user