Northwind Database

G

Guest

Opening a recordset
The code is as follows:

Sub RecordsetOpenTable
Dim rs As ADODB.Recordset
End Sub

Set rs = CreateObject("ADODB.Recordset")
"Book States"

Caution (Pryor to running any code be sure the
Database is closed?) where do I run the code
from?
In VB 2005 I knew if I was pluged in, but I am not
sure in Access.
If the Northwind database is open
am I connected to the database?
 
P

pietlinden

Opening a recordset
The code is as follows:

Sub RecordsetOpenTable
Dim rs As ADODB.Recordset
End Sub

Set rs = CreateObject("ADODB.Recordset")
"Book States"

Caution (Pryor to running any code be sure the
Database is closed?) where do I run the code
from?
In VB 2005 I knew if I was pluged in, but I am not
sure in Access.
If the Northwind database is open
am I connected to the database?

Read up on ADO in the help file - connection and command objects. If
this is a VB.Net question, you should ask there...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top