Format Access memo field?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Format Access memo field?

    Hi all,

    Just trying to figure out how to format a returned MS Access memo field with Coldfusion.
    Nothing special. Just want it to retain returns and paragraphs...

    Thanks,
    Tim
    timsilva Guest

  2. Similar Questions and Discussions

    1. #38458 [Asn->Csd]: Fails to get values of fields following a MEMO type field in MS Access
      ID: 38458 Updated by: wez@php.net Reported By: costas at meezon dot com -Status: Assigned +Status: ...
    2. #38458 [Com]: Fails to get values of fields following a MEMO type field in MS Access
      ID: 38458 Comment by: johnc at inkjetinc dot com Reported By: costas at meezon dot com Status: Assigned Bug...
    3. Memo Field with Access
      Hopefully someone can help me with this. I have a memo field in Access, I type for example into the text box on the webpage: (ignore the >) *...
    4. How do I get an Access memo field over several lines in HTML?
      I'm trying to replace vbCrLf with <BR>, but it doesn't work for some reason. Could someone please correct the code, or tell me of a better...
    5. MS Access Memo Field and ASP
      I have a memo field in a MS Access table. The contents of the field may look like this: 1. This is number one 2. This is number 2 3. Skipping...
  3. #2

    Default Re: Format Access memo field?

    Tim,

    Use ParagraphFormat()

    #ParagraphFormat(stringToFormat)#

    --
    Ken Ford
    Certified Dreamweaver MX 2004 Developer
    PVII Support Team
    [url]http://www.projectseven.com[/url]
    Team Macromedia Volunteer - Dreamweaver


    "timsilva" <webforumsuser@macromedia.com> wrote in message news:cv181r$fac$1@forums.macromedia.com...
    > Hi all,
    >
    > Just trying to figure out how to format a returned MS Access memo field with Coldfusion.
    > Nothing special. Just want it to retain returns and paragraphs...
    >
    > Thanks,
    > Tim

    Ken Ford - *TMM* & PVII Guest

  4. #3

    Default Re: Format Access memo field?

    Thanks Ken,

    All better.
    :-)
    - Tim
    timsilva Guest

  5. #4

    Default Re: Format Access memo field?

    I have been looking for two days for this answer, and now that I've read it, I
    don't know exactly how to apply it. I have data in an Access database Memo data
    type field. I created a recordset and a dynamic table to display the data from
    Access. The memo data type is not formatted when returned in ColdFusion. If I
    use the <pre></pre> tags in Dreamweaver, it's formatted in ColdFusion, but I
    can't get the text to wrap in the column, therefore, the column is extremely
    wide.

    Here is my code:
    <cfoutput query="printmanual">
    <tr>
    <td>#printmanual.PolicyNumber#</td>
    <td>#printmanual.PolicyTitle#</td>
    <td>#printmanual.PolicyDescription#</td>
    </tr>
    </cfoutput>

    PolicyDescription is the Memo data type field. How do I view it in ColdFusion
    in it's original format with paragraphs?
    I really, really appreciate any help. Thank you,
    Kelli


    keann Guest

  6. #5

    Default Re: Format Access memo field?

    wasn't your question answered by the post prior to yours?

    #ParagraphFormat(stringToFormat)#

    in your case

    #ParagraphFormat("#printmanual.PolicyDescription#" )#

    drop the pre tags


    SafariTECH Guest

  7. #6

    Default Re: Format Access memo field?

    you could use this!
    '#ReplaceNoCase(printmanual.PolicyDescription,'#Ch r(13)#','<BR>',"all")#'>
    jorgepino 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