cancel
Showing results for 
Search instead for 
Did you mean: 

Weird CR2008 Blank Report on a DataSet push

Former Member
0 Kudos

Weird problem with a CR2008 report. I already have the latest patch. I searched the forums but couldn't find any direct assistance.

Pushing a dataset in a VB.NET app to CR2008 report.

The old report will not print the formulas but it will print the text in the sections.

BUT if I build a new report and use a formula from the old report it will print.

What could be wrong with the old report. I do not want to rebuild a new report and copy&paste the formulas into the new report from the old report b/c some setting or something is amiss in the old report.

Any help. Thx.,

Ajay

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

To troubleshoot this, write out the dataset to an xml:

myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)

Then see this thread:

then see my post from Nov 19, 2008 1:25 PM

Ludek

Former Member
0 Kudos

IT seems there is a bug in CR .NET VS 2008.

IIF cannot be used in basic syntax but CR 2008 does not detect this problem. When used in VS 2008 .NET it gives a weird error : field is unknown errorKind.

This is not good.

Former Member
0 Kudos

NOW this blank report issue.

The report reads my XML data from an XML file and it previews perfectly in CR2008.

But when the report is used in .NET it gives a blank report.

I assume I must push the XML file data into a 2nd dataset and push it to the report document?

HOW?

Former Member
0 Kudos

IIF cannot be used in basic syntax formulas inside .NET CR but CR 2008 allows IIF in basic syntax formulas.

When used in VS 2008 .NET it gives a weird error : field is unknown errorKind.

I did not get reply to what seems a bug in the .NET CR engine.

Ajay

Edited by: Ajay Shah on Nov 21, 2008 7:05 PM

Answers (1)

Answers (1)

0 Kudos

Don't use Basic Syntax in formulae

Former Member
0 Kudos

No, use basic formula but use IF-THEN-ENDIF instead.