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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

UNION and INTO



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2009, 11:33 PM posted to microsoft.public.access
Lars Brownies
external usenet poster
 
Posts: 149
Default UNION and INTO

I have a unionquery string of which I want to make a table. How do I code
this tablemakequery?

The code beneath obviously doesn't work.

"SELECT (" & strSQL & ").* INTO TEST "
"FROM " & strSQL & ";"

Can someone point me in the right direction?
Thank you,
Lars


  #2  
Old July 11th, 2009, 01:10 AM posted to microsoft.public.access
Arvin Meyer MVP
external usenet poster
 
Posts: 640
Default UNION and INTO

The easiest method is to create a second query as a Make-Table which uses
the Union query as a source.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Lars Brownies" wrote in message
...
I have a unionquery string of which I want to make a table. How do I code
this tablemakequery?

The code beneath obviously doesn't work.

"SELECT (" & strSQL & ").* INTO TEST "
"FROM " & strSQL & ";"

Can someone point me in the right direction?
Thank you,
Lars



  #3  
Old July 11th, 2009, 12:27 PM posted to microsoft.public.access
Lars Brownies
external usenet poster
 
Posts: 149
Default UNION and INTO

Thanks. I got it working.
Lars

"Arvin Meyer MVP" schreef in bericht
...
The easiest method is to create a second query as a Make-Table which uses
the Union query as a source.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Lars Brownies" wrote in message
...
I have a unionquery string of which I want to make a table. How do I code
this tablemakequery?

The code beneath obviously doesn't work.

"SELECT (" & strSQL & ").* INTO TEST "
"FROM " & strSQL & ";"

Can someone point me in the right direction?
Thank you,
Lars





 




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 07:15 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.