johnmerlino
Registered User.
- Local time
- Today, 13:28
- Joined
- Oct 14, 2010
- Messages
- 81
Hey all,
I'm trying to figure out a simple way to run queries one after another. For example, I have these queries:
defense_query (a create query)
append to defense (append query)
finalize defense (create query)
There's several other queries. But they will all still run successively. I did some online investigation on how to do this and all I came up with was one tutorial where guy said something like this:
Docmd.OpenQuery "defense_query"
DoEvents
Docmd.OpenQuery "append to defense"
DoEvents
Docmd.OpenQuery "finalize defense"
I don't know where I would put this and I don't know where I would execute and I'm not even sure if this correctly will run the queries one after the other.
Thanks for response.
I'm trying to figure out a simple way to run queries one after another. For example, I have these queries:
defense_query (a create query)
append to defense (append query)
finalize defense (create query)
There's several other queries. But they will all still run successively. I did some online investigation on how to do this and all I came up with was one tutorial where guy said something like this:
Docmd.OpenQuery "defense_query"
DoEvents
Docmd.OpenQuery "append to defense"
DoEvents
Docmd.OpenQuery "finalize defense"
I don't know where I would put this and I don't know where I would execute and I'm not even sure if this correctly will run the queries one after the other.
Thanks for response.