Solved

reading and updating an access database

Posted on 1998-09-09
1
131 Views
Last Modified: 2010-04-30
I want to write an app. that show employees in/out status. The data is stored in an access database and i want to display it an let the users change status (updating the database). I can easily read/update the database using database and recordset objects. But what is the best user interface to use? Is it a dbgrid? If so. How does that control work? How do i display data in a dbgrid?
0
Comment
Question by:cvogt
1 Comment
 
LVL 2

Accepted Solution

by:
dabellei earned 10 total points
ID: 1433898
To use dbgrid you need to put a datacontrol in your form, you link this data control to a database and then a table.  After you link your dbgrid to that data control using the datasource property (wich will show you the data control you have on your form.).

Then right click on the dbgrid and select retrieve fields. Run your apps and you<ll see your data in the grid.

Good luck
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now