db sh 17.Apr.12 11:34 AM a Web browser Applications DevelopmentAll ReleasesAll Platforms
Dear All,
I m working on client based database. i am facing some problem in append text. acctualy i have to maintain a log in a form , thats why i have taken three field updatedby, updated action and updated date. when a append a data through lotus script in these field then updatedby and updated action is working fine but in updated date, i m getting error some is item1% not a type pf text :(
i tried 2-3 options but its not working ,updated date is a text field
i tried the code-
1)
Dim dt As New NotesDateTime(Now())
Set item = New NotesItem(Doc,"updateddate","")
Call item .AppendToTextList(dt)
2)
Dim dt As New NotesDateTime(Now())
Set item = New NotesItem(Doc,"updateddate","")
Call item .AppendToTextList(Cstr(dt))
3) Set item =doc.GetFirstItem("updateddate")
Call item .AppendToTextList(Now()) ''Tried with cstr(Now()) also but no luck:(
4) i have make my updateddate field as date/Time but not working :(