LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Import data from multiple tables

Hi.

I'm trying to get data from three Foxpro tables, Employees, Earnings, and
Absences. I need to sum the Earnings records for each Employee record
(between two dates), and count the Absence records for each Employee record
(between the same two dates). I need all active Employees whether they had
earnings or absences or nothing. The resulting spreadsheet should look
something like:

Employee# Name Earnings Abs
123-45-6789 Joe $50,249 1
234-56-7890 Jane $75,456 3
345-67-8901 Jack
456-78-9012 Jill 2
567-89-0123 Jeb $10,000


In all my attempts, it doesn't appear that MS Query is capable of handling
the level of subqueries, sums and counts needed to perform this relatively
straightforward data retrieval. I'm trying to use the Data menu, Import
External Data, select the Foxpro ODBC, then edit the resulting SQL manually.
I posted some code earlier to get input, but no one has tackled that yet.
Help! I've run out of things to try!

Thanks!


 
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
PLEASE ANYONE ... DATA IMPORT EXTERNAL DATA - WEB TABLES Sacs Excel Discussion (Misc queries) 2 January 18th 08 12:51 AM
How to import multiple sheet of excel into Access database to a diffrent tables?? baka Excel Discussion (Misc queries) 0 July 6th 06 05:48 AM
How import multiple tables from same web page (Web Query)? [email protected] Excel Discussion (Misc queries) 2 March 8th 06 11:41 PM
how do i import multiple data sets at one time? chris_rip Excel Discussion (Misc queries) 3 June 22nd 05 04:27 AM
Data tracking import to Access with more than 25 tables John Hipskind Excel Programming 0 January 14th 04 02:51 AM


All times are GMT +1. The time now is 07:15 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"