|
|
|
date: Tue, 26 Aug 2008 14:33:12 -0700,
group: microsoft.public.access.formscoding
back
Re: Memo Prevent Alt Enter
That worked great - it didn't take making another query, though.
me.memo = Replace(me.memo, Chr(13) & Chr(10), " ")
Thanks again.
"John W. Vinson" wrote:
> On Wed, 27 Aug 2008 07:12:00 -0700, meyerryang
> wrote:
>
> >If I replace it, how do I eliminate the hard return (space). Thanks in
> >advance.
> >
> >For Example:
> >Accountname 1012 (the space right here which starts a new line below!!!)
> >New York, NY
>
> Back up your database first, just in case.
>
> You can run an Update query updating the memo field to
>
> Replace([memofield], Chr(13) & Chr(10), " ")
>
> to replace all hard returns with a single space.
>
> The hard return is encoded as a carriage return character followed by a
> linefeed character, ASCII values 13 and 10 respectively.
> --
>
> John W. Vinson [MVP]
>
date: Wed, 27 Aug 2008 14:58:03 -0700
author: meyerryang
|
|