Hello,
I have a problem with some field (ex. my_field ntext(5000)).
I have some code in OnSave() and there I insert to my_field some data.
First problem is, how can I return actual date. Now I use field
modifitedOn in CRM.
But I can't format this date, like this (ex. 2006-06-18).
Now I have this format "Fri Aug 18 16:21:02 UTC+0200 2006" and I want
format (2006-06-18).
Second problem is, how can I insert char of enter to my_field.
Now it look like this: Mark Twain - 2006-06-18 - OK Mark Twain -
2006-07-18 - OK etc.
and I want: Mark Twain - 2006-06-18 - OK
Mark Twain - 2006-07-18 - OK
I don't know how can I insert char of enter, whitch will break line in
text.
anyone can help me?
thanks
Andrej
|