Einzelnen Beitrag anzeigen

Benutzerbild von Samashy
Samashy

Registriert seit: 20. Feb 2004
Ort: Cottbus
127 Beiträge
 
Delphi 10.4 Sydney
 
#1

Crystal Reports VCL XI und Delphi 2009

  Alt 17. Sep 2008, 08:08
Hallo Ihr Lieben,

habe heute Delphi 2009 installiert und stehe nun vor einem mittelschweren Problem...
Die VCL von CR läuft nicht mehr. Die UCrpe32 kann nicht kompiliert werden.

Delphi-Quellcode:
...
  case ReportOptions.convertDateTimeType of
    PE_RPTOPT_CVTDATETIMETOSTR : FConvertDateTimeType := ToString;
    PE_RPTOPT_CVTDATETIMETODATE: FConvertDateTimeType := ToDate;
    PE_RPTOPT_KEEPDATETIMETYPE : FConvertDateTimeType := ToDateTime;
    else
      FConvertDateTimeType := ToDateTime;
  end;
...
PE_RPTOPT_CVTDATETIMETOSTR : FConvertDateTimeType := ToString;
Fehler: Inkompatible Typen: 'TCrDateTimeType' und 'string'

Hat jemand einen Rat für mich?

Danke, Romy
  Mit Zitat antworten Zitat