A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Run create-tab query



 
 
Thread Tools Display Modes
  #1  
Old May 16th, 2004, 02:22 AM
Hai Ly Hoang
external usenet poster
 
Posts: n/a
Default Run create-tab query

Hi,
I have several Create-tab queries (about 5). Now , i want to run (create new
table with them) them all.
How to do that ? Certainly not by click each query and issuses run command
for each of them (because i have to requery all of them a lot of time)

Thank in advance



  #2  
Old May 16th, 2004, 03:07 AM
PC Datasheet
external usenet poster
 
Posts: n/a
Default Run create-tab query

Put the following code in the Click event of a button or other appropriate
event:
DoCmd.SetWarnings False
DoCmd.OpenQuery "Query1"
DoCmd.OpenQuery "Query2"
"
"
DoCmd.OpenQuery "Query5"
DoCmd.SetWarnings True

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications

www.pcdatasheet.com


"Hai Ly Hoang" wrote in message
...
Hi,
I have several Create-tab queries (about 5). Now , i want to run (create new
table with them) them all.
How to do that ? Certainly not by click each query and issuses run command
for each of them (because i have to requery all of them a lot of time)

Thank in advance





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.