Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Solved: Access Query using tables more than once in same query


(!)

chudok01's Avatar
chudok01 chudok01 is offline
Member with 171 posts.
THREAD STARTER
 
Join Date: Sep 2010
Experience: Intermediate
27-Dec-2010, 12:05 PM #1
Solved: Access Query using tables more than once in same query
I have a previously designed Access DB and there is a query that I am trying to understand. It has several tables that are queried more than once in a single query. First how do I determine the actual table name? I can only see the alias name. Also what is the purpose of using the same table twice in a query?
OBP's Avatar
OBP OBP is offline OBP is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 18,545 posts.
 
Join Date: Mar 2005
Location: UK
27-Dec-2010, 12:32 PM #2
It is normally to do calculations or comparisons on prior or next records. It is the one weekness of Access Queries, the Totals function has some good arithmetic calculations like average, Count Sum etc but manipulating previous records like add or subtract values from the current record it can't do. So it requires more advanced SQl. Which is apperas you have.
Have you looked at the query in SQL view?
It should use the word "As" to designate the alias.
__________________
OBP
I do not give up easily
chudok01's Avatar
chudok01 chudok01 is offline
Member with 171 posts.
THREAD STARTER
 
Join Date: Sep 2010
Experience: Intermediate
27-Dec-2010, 01:57 PM #3
Got it! Thanks!!
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Copy data fields in same table to other fields in same table MS Access Hnlevitt Business Applications 17 22-Jan-2009 05:30 PM
Mouse clicks more than once... slydog13jess Hardware 2 10-Oct-2004 07:13 PM
Outlook 2003 sends attachments more than once SilverBear Business Applications 1 09-Aug-2004 12:49 AM
XP Activation more than once tcox Windows XP 12 15-Jun-2004 07:30 AM
IE won't open more than once FZWG Web & Email 18 17-May-2003 12:46 AM

WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑