Skip to Content
Oct 23, 2020 at 11:45 AM

Error on showing Report via .net component

25 Views Last edit Oct 23, 2020 at 01:26 PM 2 rev


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

ART_SARTIKELNR ( a product no )


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)


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,