Solved

VB 2005 Read/Write to Access Database

Posted on 2006-06-24
1
146 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

773 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