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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Is there anything wrong with the syntax



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2010, 03:12 AM posted to microsoft.public.access.queries
Syphonics via AccessMonster.com
external usenet poster
 
Posts: 44
Default Is there anything wrong with the syntax

It gave me synatx error from clause?

SELECT GL Finance Credit Query.* FROM GL Finance Credit Query
UNION ALL SELECT GL Finance Debit Query.* FROM GL Finance Debit Query;

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/201005/1

  #2  
Old May 13th, 2010, 03:29 AM posted to microsoft.public.access.queries
Ken Snell
external usenet poster
 
Posts: 177
Default Is there anything wrong with the syntax

SELECT [GL Finance Credit Query].* FROM [GL Finance Credit Query]
UNION ALL SELECT [GL Finance Debit Query].* FROM [GL Finance Debit
Query];


You must delimit the query names with square brackets because the query
names contain spaces.
--

Ken Snell
http://www.accessmvp.com/KDSnell/




"Syphonics via AccessMonster.com" u25414@uwe wrote in message
news:a7ebbe14e7f5d@uwe...
It gave me synatx error from clause?

SELECT GL Finance Credit Query.* FROM GL Finance Credit Query
UNION ALL SELECT GL Finance Debit Query.* FROM GL Finance Debit Query;

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/201005/1



  #3  
Old May 13th, 2010, 07:25 AM posted to microsoft.public.access.queries
Syphonics via AccessMonster.com
external usenet poster
 
Posts: 44
Default Is there anything wrong with the syntax

Thanks a lot its works!

Ken Snell wrote:
SELECT [GL Finance Credit Query].* FROM [GL Finance Credit Query]
UNION ALL SELECT [GL Finance Debit Query].* FROM [GL Finance Debit
Query];

You must delimit the query names with square brackets because the query
names contain spaces.
It gave me synatx error from clause?

SELECT GL Finance Credit Query.* FROM GL Finance Credit Query
UNION ALL SELECT GL Finance Debit Query.* FROM GL Finance Debit Query;


--
Message posted via http://www.accessmonster.com

 




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:17 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.