Solved

How to: Combobox & MS ACCESS Database?

Posted on 2006-11-23
3
168 Views
Last Modified: 2010-04-05
Hi folks!

This is what I'd want:

An MS Database which holds three fields. Furthermore a pop up wiht 2 edits and 1 combobox which lets me select an item from the dropdown that comes from from the .mdb database. After selecting it I want to add it to my listview.

So suppose the data are Gender age and haircolor I wanto be able to let the user select such data from the pop up (edits and combobox) coming from the database. Also it should be possible to add new items to the datbase.

If you need more info please ask!!

Kind regards,

Peter

Ps working samples make me happy!
0
Comment
Question by:PeterdeB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:wildzero
ID: 18004569
This is pretty easily to accomplish, I would look at one of the many tutorials for this on the web.
I remember reading this one http://delphi.about.com/od/database/a/databasecourse.htm years ago which helped me.

:-)
0
 
LVL 10

Accepted Solution

by:
wildzero earned 500 total points
ID: 18004576
I think that tutorial also contains source code as well.

Got Microsoft Access? You can use that to design your database.
Simply open the software - create a new database table, 3 fields
id - autonumber
age - number, 5
haircolor - string, 20

And there is your database, so you just need to view that tutorial for creating your Delphi app.
0
 

Author Comment

by:PeterdeB
ID: 18004867
Hi wildzero > I just followed up your advice and the tutorial is very cool!

I will be back with some database related questions > i still need the combobox to particpate ;-)

kind regards,

Peter
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question