Skip to Content
0
Sep 26, 2016 at 11:37 AM

Crystal reports date field converted to datetime field

168 Views

Hi everyone,

I'm using reports with ttx definitions (field definitions only). There I can define fields with the format date.

Now when I set the data in the report via SetDataSource the date field is converted to a datetime field.

In some old created reports I'm still able to set the report option 'Convert Date-Time Field'. But in newer one this option is not available anymore.

When I set the data for the old reports I get also for the latest runtime v.13.0.17.2096 still date fields, but not for the newly created reports.

Is it somehow possible to set this option also for new report, in best case via source code?

In the debugger I can see that the ReportOptions contains a member ConvertDateTimeType, unfortunately is this one not public.

I've found this option also in the ReportClientDocument. There is it possible to change it, but is has no influence to the result.

Can anyone help me?

Kind regards,

André