Modules

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created 2 queries and want one to run after the other. Basically what
i want is the first query to execute and as soon as it is complete i want the
other to run. I have been advised to use modules within MS Access, but i
have never used this feature before, could you please help?
 
hi,
a module as just a collection of vb code that works as a
unit.
class modules are associated with specific forms or reports
standartd modules are not associted with anthing specific.
so you could use the Docmd.openquery "queryName" attached
to a command button on a form(class module) and run both
queries back to back with one button click.
 
Back
Top