Basically I am searching for some book records in a database and would
like to output the result after I do a search on a title.  I am having
problems in how to display the results because the search should return
the title, author and a couple of other fields.

I thought of using a listbox with columns or perhaps a grid
I need a number of columns with column headings so that the title
returned is shown under the title column etc etc.

please can you help me with the code for this

As you can appreciate the columns have to support different length
strings because I may do a search for all titles which start with 'The'

how do you determine the width of the column so that the titles returned
will appear

Shahidah Majeed

Example: Get the file