Charlotte Foust
cfoust at infostatsystems.com
Mon Feb 9 16:17:51 CST 2004
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