Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to: Combobox & MS ACCESS Database?

Posted on 2006-11-23
3
Medium Priority
?
172 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

609 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