VBA HELP

From: JIMBO (anonymous_at_discussions.microsoft.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 09:22:23 -0700

What if I have more than one query, say for example:
SqlStringA = Transform Query code
SqlStringB = Select Query Code
SqlStringC = Joins SqlStringA and SqlStringB
SqlStringD = Appends SqlStringC to a table

In this case I have four differnt querys, however if I
wanted to write this all in VBA how would I go about that.
I guess my ultimate question is if the case arises, how
would I execute a query in VBA and store the results in
memory to use in a later query also written in VBA?



Relevant Pages

  • Re: Need help from you Code Masters
    ... What if I have more than one query, ... SqlStringB = Select Query Code ... SqlStringC = Joins SqlStringA and SqlStringB ... wanted to write this all in VBA how would I go about that. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Need help from you Code Masters
    ... i think case i think you can save each query and the join them ... curentDB.querydefs("qrySqlStringA").SQL= SqlStringA ... > wanted to write this all in VBA how would I go about that. ... >>>I have a crosstab query and I use an append query to take ...
    (microsoft.public.access.modulesdaovba)
  • Re: More clarification from you Code Masters Please
    ... > What if I have more than one query, ... > SqlStringB = Select Query Code ... > SqlStringC = Joins SqlStringA and SqlStringB ... Combine the SQL statements into one ...
    (microsoft.public.access.modulesdaovba)
  • Re: VBA HELP
    ... > What if I have more than one query, ... > SqlStringB = Select Query Code ... > SqlStringC = Joins SqlStringA and SqlStringB ... > wanted to write this all in VBA how would I go about that. ...
    (microsoft.public.access.queries)
  • VBA HELP?
    ... What if I have more than one query, ... SqlStringB = Select Query Code ... SqlStringC = Joins SqlStringA and SqlStringB ... wanted to write this all in VBA how would I go about that. ...
    (microsoft.public.access.macros)