Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

MS Access, Again

Thread Tools
 
Search this Thread
 
Old 24 May 2004, 03:01 AM
  #1  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Question MS Access, Again

Getting there, albeit slowly.

I have a two tables (Table C1 and Table C2).
(structure of both tables is [name] [id nbr] [value]
value in C1 is Fiscal Year 04 and value in C2 is Fiscal Year 05
I also have one query (Query Z), that attempts to join them.

The Problem;
it only joins items with values in both FY04 & FY05.

Any item with zero is either FY is ignored.
But I want to show zero in the respective column.

The db is tiny at 485 bytes, as it is a test db.
I can send on e-mail.

Ta.
Old 24 May 2004, 08:39 AM
  #2  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

Its because the standard JOIN you are performing is an INNER join which will only show matching results from both tables. Look up in the help about a LEFT OUTER JOIN which will show results for both matches and non-matches.

Gary
Old 24 May 2004, 09:48 PM
  #3  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Thumbs up

Nice One !!

Changing the 'joins' works perfectly.

Thanks Gary.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
TylerD529
General Technical
2
09 October 2015 01:53 AM
Littleted
Computer & Technology Related
4
25 September 2015 09:55 PM
Hangarrat93
Insurance
11
25 September 2015 08:42 AM
farmerwrx
Computer & Technology Related
14
10 September 2015 11:59 AM



Quick Reply: MS Access, Again



All times are GMT +1. The time now is 07:21 PM.