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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the best way to display array data in a form

Status
Not open for further replies.

Rich7638

Technical User
Apr 14, 2005
13
US
I have data that is getting extracted from a table and assembled into an array. While it will always be a two dimension array, I have no idea of the bounds until it begin the extraction, therefore some sort of fixed display method on the form will not work so well.

The data need only be displayed and printed, no other operations are required. They cannot change the data, only observe it.

What I would really like is to just write the data to a blank form, much like it would be displayed in Word, but with a close and a print button. I don't see any way to accomplish this. My other thought was to write the data to a list box.

Rich
 
You could loop through your array and append it's contents to a multiline textbox on a form. V basic and should work for you.

"If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.
 


Hi,

A TextBox is designed for entering data.

Use a Label with a Vertical Scroll if necessary to interactively display a portion or all of the rows in your array.

Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top