Comments needed on idea

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Comments needed on idea

    I want the administration to be able to view results of a survey. I have MX6.1
    My access db contains memo fields. When veiwing the result page, if the
    {answers} are to long the page just keeps going and going and .....

    I was wondering if anyone knows how to make it <br> to the next line. Is the
    any report writer program that will work with 6.1 or is that just with 7.

    The wrap/wraptext is, my understanding, for cfmail. I have thought of using
    the LEN fuction and after so many characters to <br>.

    I have not worked with Coldfusion for a long while and having to jump back up
    in the saddle quickly is fun but also aggravating when I don't remember things.
    So any input would be nice. Thanks.


    jen_ren Guest

  2. Similar Questions and Discussions

    1. Disable Options>Import Comments in Comments Pane
      A customer asked me to replace the logic of the Comments>Import Comments menu item. I can easily find and replace this menu item with the name...
    2. comments/advice needed
      I am working on a project site. The url is www.search24-7.com. I am looking for feedback (both negative and positive). I am new here and want to...
    3. Idea, is it possible ?
      I have no experience in flash, just an idea I wanted developed so I thought I would ask to see if people thought it was possible before seeking a...
    4. any idea how i can...
      Hi all does any one have an idea how I can make a stroke look like a paint brush stroke - i.e. varying thickness along its length, kind of a hand...
    5. any idea what was used to do this?
      <http://www.geocities.com/fixedandsorted/crop.htm> what filter (if any) do you think was used to get the effect on the yellow background on the...
  3. #2

    Default Re: Comments needed on idea

    jen_ren,

    Not sure if this is what you want or will help but when I have data in a memo
    field that I want to hold and show all the returns that were typed into the
    field I used this when outputting the data.

    <cfoutput>#Replace(fieldname,"#chr(10)#","<br>","a ll")#</cfoutput>

    Hope this helps.
    Jennifer

    jmoshier Guest

  4. #3

    Default Re: Comments needed on idea

    I put in with my code, but it does not want to <br>.

    <cfoutput query="yourview">
    <tr>
    <td width="494" height="40"><span
    class="wrapping">#Replace(yourView.answers,"#chr(1 0)#","<br>","all")#</span><br>
    <hr align="left" width="50%" size="1" noshade>
    </td>
    </tr>
    </cfoutput>

    it goes on and on and .....

    jen_ren Guest

  5. #4

    Default Re: Comments needed on idea

    try:

    #replace(yourView.answers, chr(13)&amp;chr(10) ,'<br />', 'all')#
    [CJ] Guest

  6. #5

    Default Re: Comments needed on idea

    that does not want to work either.
    The chr(13) is the amount of characters to go and then <br> on all entries. I am understanding this correctly or not.
    jen_ren Guest

  7. #6

    Default Re: Comments needed on idea

    CHR(13) &amp; CHR(10) form the newline characters (CR and LF) on most systems.
    It sounds like the memo fields do not have any newline characters in them. That
    is why the replace suggestions will not work. If you are displaying the output
    in an HTML format, the text should wrap automatically to the width of the page
    or the table cell. This would be the case unless you are using PRE tags or if
    there are no spaces in the text. Could you give us a link to see what your
    output looks like? -Paul

    dempster Guest

  8. #7

    Default Re: Comments needed on idea

    Why am I not looking at some of the small things. You were right. I did not have any spaces/newline. I corrected my test data and it worked correctly. :D
    jen_ren Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139