@ Chin Kwan How
To flip it back when editing the form, convert the
into Chr(13).
Ex:
#replace(queryname.comments,"
",Chr(13), "all")#
for display purposes.
#replace(form.comments,Chr(13),"
", "all")#
tags and it is only slightly more coding. You would start the display with a
, then replace 2 consecutive Chr(13) with
, then close the whole thing with a closing
. That way, if the client hits the enter key twice, they are actually creating a true break instead of multiple
tags. Which more often than not would be the intent and would also be semantically correct html.
--Jim

