[AccessD] Programmatically adding line breaks to a label caption?

Christopher Hawkins clh at christopherhawkins.com
Mon Feb 9 16:31:45 CST 2004


D'oh!  I do indeed thanks.

-Christopher-

---- Original Message ----
From: cfoust at infostatsystems.com
To: accessd at databaseadvisors.com, 
Subject: RE: [AccessD] Programmatically adding line breaks to a label
caption?
Date: Mon, 9 Feb 2004 14:17:51 -0800

>Try vbCrLf.  You need a full carriage return AND line feed.
>
>Charlotte Foust
>
>-----Original Message-----
>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] 
>Sent: Monday, February 09, 2004 2:18 PM
>To: accessd at databaseadvisors.com
>Subject: [AccessD] Programmatically adding line breaks to a label
>caption?
>
>
>Here's my deal.  I need to squeeze two line sof text inot a label
>caption, and I need to do it programmatically.  I've tried doing 
>this:
>
>.Controls(sLabelName).Caption = mrs("Foo") & Chr(13) & mrs("Bar")
>
>And that leaves me with a label that has a little square character
>between the Foo and Bar text.  There's GOT to be a way, and I'm 
>betting
>this list knows what it is.
>
>Heeeeeeeeeeeeeeeeeeeeeeelp...
>
>-Christopher-
>
>
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com
>
>




More information about the AccessD mailing list