The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: microsoft.public.dotnet.framework
From: Paul Clement <UseAdddressAtEndofMess...@swspectrum.com>
Date: Thu, 08 Dec 2005 08:03:19 -0600
Local: Thurs 8 Dec 2005 14:03
Subject: Re: Access
¤ OK,
¤ ¤ I have an access addin. On startup, I can open my database and enumerate ¤ the tables in the database: ¤ ¤ ... ¤ myApp = (Micorsoft.Office.Interop.Access.Application) application; ¤ myApp.OpenCurrentDatabase("c:\\mydatabase.mdb"); ¤ foreach (Microsoft.Office.Interop.Access.AccessObject ao in ¤ myApp.CurrentData.AllTables) ¤ { ¤ System.Windows.Forms.MessageBox.Show(ao.Name.ToString()); ¤ } ¤ ¤ My question is, once I have the particular table that I want, how do I ¤ add/delete a record from it? It seems like a pretty easy task, but I can't ¤ find an example anywhere or documentation anywhere. Use ADO.NET with simple insert and delete SQL statements: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbco... Paul You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||