Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $95

Line breaks in text imported by ODBC into Memo Fields

Discussion in 'Information Technology' started by Jerry K, Jul 28, 2006.

  1. Jerry K

    Jerry K
    Expand Collapse
    Guest

    I'm importing an OMNIS file. Long text fields go into Access memo fields, but
    line breaks in the text are left as a little square character. Is there a way
    to make the memo field separate the lines?
     
  2. Loading...

    Similar Threads Forum Date
    Khalsa Aid The Selfless Sikh Faith On The Frontline, A Documentary By BBC 2016 Sikh Organisations Nov 16, 2016
    Sikh News Veteran Sikh Soldiers To Inspire Young - Malay Mail Online Breaking News Aug 1, 2016
    Hard Talk Confused Islamophobes Target American Sikhs Online Hard Talk Apr 26, 2016
    Is There A Thin Line Between Love And Hate? Interfaith Dialogues Apr 25, 2016
    Hard Talk Taking One Liners Out Of Context From Gurbani To Allow Intellectual Independence? Hard Talk Apr 23, 2016

  3. Douglas J Steele

    Douglas J Steele
    Expand Collapse
    Guest

    The line breaks must be the combination of Carriage Return (Chr$(13)) and
    Line Feed (Chr$(10)), in that order (you can use the intrinsic constant
    vbCrLf). Odds are you've only got one of the two characters in your text.

    Try using the Replace function: either Replace([MyText], Chr$(13), Chr$(13)
    & Chr$(10)) or Replace([MyText], Chr$(10), Chr$(13) & Chr$(10)), depending
    on what's actually in your text.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no e-mails, please!)


    "Jerry K" <JerryK@discussions.microsoft.com> wrote in message
    news:88E96B7B-757B-4CD8-87F3-C7A543AD6BC9@microsoft.com...
    > I'm importing an OMNIS file. Long text fields go into Access memo fields,

    but
    > line breaks in the text are left as a little square character. Is there a

    way
    > to make the memo field separate the lines?
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page