473,396 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Data display on a form

84
I created a form that has a list box. When a item from the list box is selected I use that data to update the values in another list box. I am using the after_update to pass the row source to the second list box. Here is my issue,
the data that appears in the second list box is longer than I can display on the screen. Is there a way to get the data in the second list box to wrap? I could get all the data on the screen if I could wrap the text.
Apr 16 '07 #1
3 1479
Rabbit
12,516 Expert Mod 8TB
Not that I know of, you could have that longer data appear in a large textbox next to the listbox though.
Apr 20 '07 #2
ADezii
8,834 Expert 8TB
I created a form that has a list box. When a item from the list box is selected I use that data to update the values in another list box. I am using the after_update to pass the row source to the second list box. Here is my issue,
the data that appears in the second list box is longer than I can display on the screen. Is there a way to get the data in the second list box to wrap? I could get all the data on the screen if I could wrap the text.
If you set the Row Source Type = Value List, and use the following code to fill the List box Me![lstTest].RowSource = "Philadelphia is the city" & vbCrLf & " of brotherly love.", Philadelphia is the city will display in the List Box but if you reference it in code Philadelphia is the city of brotherly love will display on 2 lines. Hope this helps.
Apr 21 '07 #3
sesling
84
If you set the Row Source Type = Value List, and use the following code to fill the List box Me![lstTest].RowSource = "Philadelphia is the city" & vbCrLf & " of brotherly love.", Philadelphia is the city will display in the List Box but if you reference it in code Philadelphia is the city of brotherly love will display on 2 lines. Hope this helps.
I was able to use the vbCrLf with my text and it wraps just fine. Thx for your help
Apr 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kingdom | last post by:
I have a SelectBoxes.asp page that is working with multiple selection dropdown boxes to extract data and total the selection prices. Tom & Bob were kind enough to give me a big help getting this...
9
by: Susan Bricker | last post by:
Greetings. I am having trouble populating text data that represents data in my table. Here's the setup: There is a People Table (name, address, phone, ...) peopleID = autonumber key There...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
7
Merlin1857
by: Merlin1857 | last post by:
Its great producing data for users to look at in your web pages and generally that is sufficient for their needs but sometimes you may want to supply your user with the data in a form they can...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.