You may have noticed your WebSnap applications display MEMO's without new lines even
though there are new lines in the memo. Answer: When WebSnap retrieves the memo field the script variable is replaced with the text from the memo. Since the end result is HTML the browser automatically ignores new lines in the document. One simple way you can preserve new lines is to wrap the script variable in <PRE> </PRE> tags. You can replace the server script with something like this: <PRE><% WriteColText(vDataSetAdapter1_MEMO.DisplayText) %></PRE> |
Last Modified: 10-MAY-02