Displaying SQL data in rows with different cell lengths

Hello Experts;

Using Delphi 7 is there a component or method I can use to display data from a SQL database where the first nine fields are contained in one row and the tenth field is in a row below the first nine. The data display sequence repeats for additional rows except when the tenth field is null, then the next nine fields are displayed.

Inserting a row in a Tstringgrid doesn’t work because the text field has to be loaded into the first cell and can only be read by expanding the column width which hides the data in the nine columns above the single cell. A sketch of what I am trying to do is attached.

Sketch of data displayThank you,
Visionetv
visionetvAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sinisa VukSoftware architectCommented:
Do you need editing function or just view? Such thing for viewing purpose - there are reporting componets (freereport, fastreport, quickreport, ...) For editing - there is none component know to me .... Similar here.
-----
edit: maybe using TDBCtrlGrid component + some show/hide/resize functions on per row ....
visionetvAuthor Commented:
Hi Sinisa Vuk

Thank you for the tips, I'll try out your suggestions.
Geert GOracle dbaCommented:
use and advanced grid like devexpress' quantumgrid

such a grid has this capability

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
visionetvAuthor Commented:
Thank you for the component information.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.