cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error on showing Report via .net component

mw14
Discoverer
0 Kudos
83

Hi,

I have a report that accesses a Database via ODBC. The result set has fields

ART_SARTIKELNR ( a product no )

ART_SFREMDCHARGE ( a lot )

VKB_DBELEG ( an order date )

The report has two groups one on ART_SARTIKELNR and one on ART_SFREMDBELEG

When I show the report without sorting it works but when I try to sort by VKB_DBELEG (with is not a group field) I get an error. The error is in german so give both the original german error message and a translation (by myself)

German:

Die Gruppenoption für ein Bedingungsfeld vom Typ /Datum/Uhrzeit/DatumUhrzeit muss ein Gruppenoptionsobject sein

English translation:

The group option for a condition field of type date/time/datetime have to be a group option object.

The exception is of type System.Runtime.InteropServices.COMException (0x8004200B)

The stack trace is:

at CrystalDecisions.ReportAppServer.Controllers.GroupControllerClass.Modify(Object OldGroup, Object NewGroup)

at CrystalDecision.CrystalReports.Engine.SortField.set_Field

I use version 13.0.3500.0 of the engine.

So I don't understand what this error actually meens.

best regards,

Marco

View Entire Topic
mw14
Discoverer
0 Kudos

Changed sort in Report but getting the same error.

Updated to SP29 -> Same error here.