Improve company productivity with a Business Account.Sign Up

x
?
Solved

VB 2005 Read/Write to Access Database

Posted on 2006-06-24
1
Medium Priority
?
154 Views
Last Modified: 2008-02-01
Need SIMPLE example for reading and writing records to an Access dataset using VB.NET/VB2005.

I established a connection to an existing Access dataset with the VB dataset wizard..  My  form code has the following---
 Me.EventIndexTableAdapter.Fill(Me.Db1DataSet.Table1)
Now, how do I?

0 .Open
1. Get the field names
2. Read a few records into an array
3. Write a few records into an array
4. Delete all Records?
5. Add a Field (column)?
6. Close

Thanks.
0
Comment
Question by:BW999
1 Comment
 
LVL 9

Accepted Solution

by:
justchat_1 earned 500 total points
ID: 16975580
You probably wanted to post in the vb.NET TA
This is vb 6
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

579 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