Solved

VB 2005 Read/Write to Access Database

Posted on 2006-06-24
1
145 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 125 total points
ID: 16975580
You probably wanted to post in the vb.NET TA
This is vb 6
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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

930 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

11 Experts available now in Live!

Get 1:1 Help Now