Solved

How to: Combobox & MS ACCESS Database?

Posted on 2006-11-23
3
166 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
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 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