QueryDef using ADO

L

Lou

NatureIs there a simple way to execute a simple QueryDef using ADO ???

I think i did this a while back using an ado command object.

can someone post an example of this ?

Thanx..
 
V

Van T. Dinh

There is no QueryDef Object in ADO, AFAIK.

--
HTH
Van T. Dinh
MVP (Access)



NatureIs there a simple way to execute a simple QueryDef using ADO ???

I think i did this a while back using an ado command object.

can someone post an example of this ?

Thanx..
 
B

Brian Camire

NatureA good reference on this kind of thing is an article named "Migrating from DAO to ADO" which you can find at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndao/html/daotoadoupdate.asp

To answer your specific question, follow the "Retrieving and Modifying Data" link. You will probably find what you are looking for there (possibly under the "Executing Queries" topic).
Is there a simple way to execute a simple QueryDef using ADO ???

I think i did this a while back using an ado command object.

can someone post an example of this ?

Thanx..
 
Top