Re: How to Direct Query Output ?



IAN BURDON wrote:

>I am have a problem redirection a Query out to a named TABLE or to Visual
>Basic Macro object set using DAO. Does anybody know if this is possible and
>if so how.


Sorry, but your question as stated doesn't make much sense.
Ultimately, a Select query only retrieves records from one
or more tables. It's the context that's used to run the
query that determines how those records are used.

For example, a query used in a form's record source allows
the form to display/modify the values in the records.

Another example is opening a recordset on the query so that
you can use DAO or ADO operations on the records/fields in
the query's dataset. If this is what you're asking about,
then see Help on the DAO Recordset onject.

Perhaps if you explained what you are trying to accomplish,
someone might be able to provide a more specific answer.

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • How to Direct Query Output ?
    ... I am have a problem redirection a Query out to a named TABLE or to Visual ... Basic Macro object set using DAO. ...
    (microsoft.public.access.queries)
  • Re: Openrecordset Query with Parameter
    ... Fields - the fields collection ... In order to change them at run-time, I use DAO to retrieve the name of the fields in the query and assign it as the ControlSourceof the appropriate fields. ... If you are using a form to open the report, and the form contains a field with the parameter value in question, then it would be possible to have the "Z1" just reference the parameter value on the form, which I am assuming will be open when the report is run. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Syntax Error in field definition
    ... If at first you don''''''''t succeed, destroy all evidence that you tried. ... As a result, your query won't work in DAO code, nor through the normal ...
    (microsoft.public.access.modulesdaovba)
  • Re: Convert to ADO for SQL Server back end
    ... all of the work required to execute a query is done ... So, in your case, using ADO instead of DAO will achieve little or no ... > I did some preliminary work and upsized my Jet tables to SQL server. ... > faster accessing data from SQL server than it does from the Jet backend on ...
    (microsoft.public.access.adp.sqlserver)
  • Re: New Info on Stupid Error Im not Seeing
    ... > I want to do away with DAO altogether because in Access 2003, ... Access 2003 *does* include a default reference set to DAO. ... I want to use ADO not DAO. ... > was written in my code as opposed to an Access Query Design. ...
    (microsoft.public.access.forms)