@Date only gives a year when using FIELD := @Date

Hi all,

I have the following very strange behavior:

when using the assignment

FIELD NewDate := @Date(tYear;tMonth;tDay), then the value in the fiels only contains the year.

I use this assignment in an agent.

I tested it on a form as well, and I get the same behavior when using the FIELD NewDate := assignment.

If I just return the value of @Date into a computed field, it perfectly shows the whole date.

What can be wrong, and how can I solve this?

Thanks

Margit

Subject: @Date only gives a year when using FIELD := @Date

Check the document properties to see what data is really stored in the document. It is not possible for a Time/Date item to contain only the year – Notes does not store dates that way. If the value really is a Time/Date, then check the form, in case it is displaying the value wrongly.