Re: After creating a data connection with VB 2005 wizard, how do I insert record into Access 2000
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 16:42:17 -0400
Sorry, the VB in this newsgroup's name refers to VB6 or earlier.
Try posting to a group with dotnet in its name, such as
microsoft.public.dotnet.languages.vb.data
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Lawrence M. Seldin, CMC, CPC" <lmseldin@xxxxxxxxxxx> wrote in message
news:39i044d3dqdn0q7nbo8nht5p68su0qdij0@xxxxxxxxxx
I am using VB 2005 and MS Access 2000.
- I created a console application in VB 2005, then chose data, add
datasource,
database, new connection.
- datasource: Microsoft Access Database file
- Database filename = c:\data\test.mdb
- Connectionstring = Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\data\test.MDB
- Save connection as: testConnectionstring
- dataset name = testDataSet
- tablename = newtable, field = FieldA with
Dim FieldA as integer
Can someone give me the code tie the above Database, table, dataset and
connection string above, to
insert a record into the above database table. The idea, is that I created
the objects above, but
don't know how to tie it the the statements needed to insert a record into
the access table.
Thank you,
Lawrence M. Seldin, CMC, CPC
Contributing writer for FUTURES Magazine
Author of RECRUITSOURCE PEOPLESOFT EXAM and RECRUITSOURCE SAP/R3 EXAM
Author of POWER TIPS FOR THE APPLE NEWTON and INTRODUCTION TO CSP
NOTE: To send me an email, remove TAKEOUT from my email address:
larryTAKEOUT@xxxxxxxxxx
NOTE: My web home page: www.seldin.net
.
- References:
- After creating a data connection with VB 2005 wizard, how do I insert record into Access 2000
- From: Lawrence M. Seldin, CMC, CPC
- After creating a data connection with VB 2005 wizard, how do I insert record into Access 2000
- Prev by Date: After creating a data connection with VB 2005 wizard, how do I insert record into Access 2000
- Previous by thread: After creating a data connection with VB 2005 wizard, how do I insert record into Access 2000
- Index(es):
Relevant Pages
|