Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
Nullable DateTime field causing problems in designer
posted

Hi there

I have a datasource containing a DateTime? field. I added the datasource to the report. Up to this point, everything is perfect. Now, I want to display the field in a TextBox on the report. Actually, it allowed me to set the TextBox to =Fields.Value once. But now, it displays a validation error.

In addition, it doesn't seem possible to set the TextBox to =Field.Value.ToShortDateString() or something similar.

Is there a possibility to use DateTime? and let it format in the TextBox as "dd.MM.yyyy" resp. ToShortDateString() instead of doing that already in the datasource item where I could set the value to string?

Thanks

Parents
No Data
Reply Children
No Data