Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LIstbox

Status
Not open for further replies.

Tronsliver

Technical User
Sep 19, 2000
120
US
I developed a listbox with 7 columns. It will also have the potential of 50 plus rows.

Can someone give me a basic example how to move from row to row when populating the box:

For example each row will have a person's name, SS#, city, town, zip, and two phone numbers. I then need to move to the second row and repeat the entries. So the first column first row will have "name." Second column first row SS# etc.. I need help with moving from column to column and row to row. I sure would appreciate an example to accomplish this....

Thank you
 
What are you trying to do???

If you are populating the box, you don't have to worry about it....Using "Bob;123-45-6789;Home;Maine;12345;123-456-7890;987-654-3210;Mary;456-78-9123;Home;Maine;12345;741-852-9630;;" will give you the correct placement....you just need to include a comma or semicolon as a separator for each column....

If you are moving through the rows and columns, then what are you trying to accomplish?

****************************
Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. (Albert Einstein)

Robert L. Johnson III
MCSA, CNA, MCP, Network+, A+
w: robert.l.johnson.iii@citigroup.com
h: wildmage@tampabay.rr.com
 
There is a way to populate list boxes programtically, and from what I remember it is rather obscure. Why don't you just use a table as the record source for the list?

Mike Pastore

Hats off to (Roy) Harper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top