I'm new to database programming, could anyone make an example program for me? I would like a form with some fields to fill in and when done you press an OK button and it stores the data in the database.

Then i want to list one kind of entries in a TListBox or TDBListBox or something, and when you select one of them, I want the rest of the infromation to come up in several TLabels beside it.


Who is Participating?
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.

Just look in the \demo\db folder in delphi 3 or 4 directory. You will find all examples you want.

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
Hi, Johan
It's very easy to do what you want.
You can find a good sample in:

You can use OnClick event of the TListBox to make changes to Labels.
sagerydAuthor Commented:
OK thanx, I'll check those out! I'll accept/reject your answer tomorrow when I have got it to work.

Thanx again,

sagerydAuthor Commented:
Well I haven't had time to check that demo out but I guess I't will be quite easy to understand when I do, so therefore I'll accept the answer anyway.
sagerydAuthor Commented:
Thank you all for the help!
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

From novice to tech pro — start learning today.