?
Solved

How to: Combobox & MS ACCESS Database?

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

765 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