PC Review


Reply
Thread Tools Rate Thread

ACCESS 97 carriage returns in memo fields

 
 
Mike Giddings
Guest
Posts: n/a
 
      2nd Sep 2003
I am trying to add two strings into a memo field separated
by a carriage return so that when the memo field is
displayed in a report the second string starts on a new
line. I am adding the two strings as part of a VB module
(ACCESS 97).

I have tried
memoname = string1 & chr(13) & string2
but this displays a square (unprintable character) between
the two strings.

I would be most grateful if you could tell me what to
replace the chr(13) with.

Thanks
Mike Giddings
 
Reply With Quote
 
 
 
 
Paul Overway
Guest
Posts: n/a
 
      2nd Sep 2003
Instead of Chr(13), use vbcrlf.

--
Paul Overway
Logico Solutions, LLC
www.logico-solutions.com


"Mike Giddings" <(E-Mail Removed)> wrote in message
news:08d801c37152$f4dee090$(E-Mail Removed)...
> I am trying to add two strings into a memo field separated
> by a carriage return so that when the memo field is
> displayed in a report the second string starts on a new
> line. I am adding the two strings as part of a VB module
> (ACCESS 97).
>
> I have tried
> memoname = string1 & chr(13) & string2
> but this displays a square (unprintable character) between
> the two strings.
>
> I would be most grateful if you could tell me what to
> replace the chr(13) with.
>
> Thanks
> Mike Giddings



 
Reply With Quote
 
Mike Giddings
Guest
Posts: n/a
 
      2nd Sep 2003
Many Thanks - worked a treat. Thanks for your help.

Mike
>-----Original Message-----
>Instead of Chr(13), use vbcrlf.
>
>--
>Paul Overway
>Logico Solutions, LLC
>www.logico-solutions.com
>
>
>"Mike Giddings" <(E-Mail Removed)> wrote in

message
>news:08d801c37152$f4dee090$(E-Mail Removed)...
>> I am trying to add two strings into a memo field

separated
>> by a carriage return so that when the memo field is
>> displayed in a report the second string starts on a new
>> line. I am adding the two strings as part of a VB

module
>> (ACCESS 97).
>>
>> I have tried
>> memoname = string1 & chr(13) & string2
>> but this displays a square (unprintable character)

between
>> the two strings.
>>
>> I would be most grateful if you could tell me what to
>> replace the chr(13) with.
>>
>> Thanks
>> Mike Giddings

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove carriage returns in memo fields judith Microsoft Access Forms 1 28th Oct 2009 09:46 AM
Removing carriage returns from Memo fields =?Utf-8?B?U2FuZGll?= Microsoft Access External Data 4 1st Sep 2006 08:57 PM
memo fields with carriage returns won't report complete record =?Utf-8?B?Sm9obkx1dGU=?= Microsoft Access Reports 4 14th Sep 2005 01:08 PM
Removing Carriage Returns from Memo Fields SheldonMopes@KidNet.com Microsoft Access Forms 1 9th Jun 2005 12:38 AM
Removing excel carriage returns from access tex/memo field RRH Microsoft Access Queries 2 24th Nov 2003 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 PM.