Hello!
 
I need to put in a Date and Timestamp in a memo field in a table.  I
have a button that inserts the data but I want to have the new data be
put on a new line.  What can I do to have the program insert a carriage
return before it puts the data in the memo field?
 
I tried working with the DBMemo component adding a Line like this:
 
DBMemoOrderNote.Lines.Add(FormatDateTime('ddd, mmm dd, yyyy,hh:mm
AM/PM',Now);
 
but the line disappears when I try to enter the memo and begin adding
the note.
 
Here is what I am doing now:
 
DM.OrderHeaderTblInternalNote.Value :=
DM.OrderHeaderTblInternalNote.Value
    + FormatDateTime('ddd, mmm dd, yyyy,hh:mm AM/PM',Now) + ' -- ' ;
 
But this method appends the date to the end of the memo without the
formatting to put it on a new line.
 
Any suggestions?
 
Tom Nesler
 
 


[Non-text portions of this message have been removed]

Reply via email to