Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default MS Query: Looking for a work-around to 2-table limits for outer jo

I am accessing 7 tables (call them A through G) in an AS/400 and need to join
the 7 tables, creating a query results file that will be saved as a
spreadsheet in an EXCEL workbook.
1. Selected fields from each record in Table A must be included in the query
results file.
2. Each record in the query results file must also include selected fields
from each matching Table B record (with blank fill in the case of a no-match)
3. In the query results file, the requirements for each of Tables C through
G are identical to the requirements for Table B, as stated above.
The only solution I can think of is a succession of outer joins, each
conforming to the 2-table outer-join limit: A joined with B creating a
tempory query results file called AB, then AB joined with C creating a 2nd
stage query results file called ABC, etc, for a total of 6 separate queries.
(However, AB would be an Excel file, but C would still be an AS/400 file, and
I am unclear as to how join two such files. One possibility is to perform a
1-table query in the AS/400 file, saving the query result as an Excel file,
so that the AB + C join would involve two Excel files.

All of my possible work-around remedies involve mulitiple steps, and I would
like to streamline the process as much as possible. Perhaps there another
query software package of modest cost that does not have MS Query's 2-table
limit on outer joins?

I would appreciate any suggestions!

Thanks: Jim
--
Jim
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Look up/math text JN Excel Worksheet Functions 11 February 4th 06 08:27 AM
Pivot table "Show all data" query Laurence Lombard Excel Discussion (Misc queries) 2 January 31st 06 09:24 AM
Formula Help Robert Excel Worksheet Functions 15 January 3rd 06 02:17 AM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM


All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"