By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

What happens with this code??

P: 27
Actually this is a part of the code that keeps me wondering why?

Expand|Select|Wrap|Line Numbers
  1. Dim rsExp As New ADODB.Recordset
  2.        Dim rsDB As New ADODB.Connection
  3.  
  4.        Set rsExp = New ADODB.Recordset
  5.        Set rsDB = New ADODB.Connection
with this i remove ADODB. and wrote it just as a Recordset in all the 4statements above, it worked well.

So I would like to know what is the difference between doing it eitherways?

Please do explain actually what the ADODB recordset is all about?

thanx in advance
Apr 28 '07 #1
Share this Question
Share on Google+
1 Reply


Dököll
Expert 100+
P: 2,364
Actually this is a part of the code that keeps me wondering why?

Expand|Select|Wrap|Line Numbers
  1. Dim rsExp As New ADODB.Recordset
  2.        Dim rsDB As New ADODB.Connection
  3.  
  4.        Set rsExp = New ADODB.Recordset
  5.        Set rsDB = New ADODB.Connection
with this i remove ADODB. and wrote it just as a Recordset in all the 4statements above, it worked well.

So I would like to know what is the difference between doing it eitherways?

Please do explain actually what the ADODB recordset is all about?

thanx in advance
Greetings!

I got you this link: http://en.allexperts.com/q/Visual-Ba...3-Beginner.htm

Hope it helps!
Apr 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.