cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal reports date field converted to datetime field

aseidelesg
Explorer
0 Kudos

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é

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Convert your reports to XML, ttx is legacy driver. No updates to it will be done.

Don

Answers (0)