|
-
Jun 22nd, 2005, 09:02 PM
#1
Thread Starter
Addicted Member
this is DAO, is that possible to do something like this in ADODB?
VB Code:
Dim qd As DAO.querydef
Set qd = CurrentDb.querydefs("yourquerynamehere")
qd.SQL = "selec t* from tblorders where tblorders.orderdate between '" & Me.begindate & "' and '" & Me.enddate & "'"
qd.close
like above code, is that possible to do something like that in ADODB?
if u felt my post make u happy ,
then u could make me happy too by rating my post
-
Jun 22nd, 2005, 09:22 PM
#2
Re: this is DAO, is that possible to do something like this in ADODB?
almost identical, there are a few differences, connecting to the data base is a bit different, but you can do just about all the same things, just slightly different code
see this thread for more info
pete
-
Jun 22nd, 2005, 10:14 PM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|