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
Solved

reading and updating an access database

Posted on 1998-09-09
1
132 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

839 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