A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

word wrap in list items



 
 
Thread Tools Display Modes
  #1  
Old November 10th, 2006, 09:19 AM posted to microsoft.public.access.forms
alekm
external usenet poster
 
Posts: 39
Default word wrap in list items

Hi,
I've got a list on a form. Strings in the list are prety long.
Is there any way I can make strings to wrap in several lines.
thanx

alek_mil
  #2  
Old November 10th, 2006, 01:55 PM posted to microsoft.public.access.forms
BruceM
external usenet poster
 
Posts: 723
Default word wrap in list items

If the text box is tall enough to accomodate two lines of text, text that
doesn't fit on one line it should break to the second line on its own. To
get the text to break to a new line at a specific place, in an expression
use Chr(13) & Chr(10):

="First line " & Chr(13) & Chr(10) & "Second Line"

In VBA you can use vbCrLf instead of Chr(13) & Chr(10)

For a more detailed response a more detailed question is needed.

"alekm" wrote in message
...
Hi,
I've got a list on a form. Strings in the list are prety long.
Is there any way I can make strings to wrap in several lines.
thanx

alek_mil



  #3  
Old November 10th, 2006, 02:08 PM posted to microsoft.public.access.forms
Al Campagna
external usenet poster
 
Posts: 421
Default word wrap in list items

alekem,
Not that I'm aware of. You could try a web search under "combo" "text" "wrap" or..
"listbox" "text" "wrap".
A few suggestions...
Create a field in your table that is just a short "summary" of the long text. Just
enough to have meaning to the user. That can be displayed, and the long text can be
"hidden" in a list column.
Or, create a small continuous subform that simulates a list box. Each subform record
could have a "select" button to intitiate the selection code.
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

"alekm" wrote in message
...
Hi,
I've got a list on a form. Strings in the list are prety long.
Is there any way I can make strings to wrap in several lines.
thanx

alek_mil



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.