🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #395

Re: Problem with text box and label control

#395
From: Allen Browne
Date: Sat, 16 May 1998 00:00
19 lines
1444 bytes
Desmond Leung wrote:

> Does any know how to insert newline character into text box and label
> control in MS Access 95 or 97?
>
> I have used chr(10) + char(13), but it did not work!

That's backwards. Try:
    Chr$(13) & Chr$(10)

or (if you are working in VBA):
    vbCrLf

  ,~,_/\
 /      \   Allen Browne
{ Perth  }  Australia
 *_,~~\_/   http://odyssey.apana.org.au/~abrowne/
       v
Technical Details
Message-ID: <355D579B.877ED40A@odyssey.apana.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6jj6ua$g2r$1@dover.cityu.edu.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101bdd,4f74adf83465efc7
X-Google-Attributes: gid101bdd,public
X-Google-Thread: 111a5a,4f74adf83465efc7
X-Google-Attributes: gid111a5a,public
X-Google-Thread: ff0ac,4f74adf83465efc7
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 10cc0d,4f74adf83465efc7
X-Google-Attributes: gid10cc0d,public
X-Google-Thread: 102b1d,4f74adf83465efc7
X-Google-Attributes: gid102b1d,public
From: Allen Browne <abrowne@odyssey.apana.org.au>
Subject: Re: Problem with text box and label control
Date: 1998/05/16
Message-ID: <355D579B.877ED40A@odyssey.apana.org.au>
X-Deja-AN: 353760902
Content-Transfer-Encoding: 7bit
References: <6jj6ua$g2r$1@dover.cityu.edu.hk>
Mime-Version: 1.0
To: Desmond Leung <ckkleung@cs.cityu.edu.hk>
Content-Type: text/plain; charset=us-ascii
Organization: APANA Western Australia
Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,es.comp.bd.ms-access,microsoft.public.access.forms,microsoft.public.access.odbcclientserver