473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

newbie trying to query multible spreadsheets into one table in Access 2003

I am using Access 2003 on Windows XP

I'm a school teacher and need help achieving the following:

I have three spreadsheets with various information in them. But, they have a common cell named "Student ID".

To be specific this is what my three spreadsheets consist of is this:

Spreadsheet 1
Student ID
Last Name
First Name
Teacher
Grade

Spreadsheet 2
Student ID
FCAT Username
FCAT Password

Spreadsheet 3
Student ID
Pearson Username
Pearson Password



THis is what I have done -- and perhaps someone can let me know where I went wrong or a better way to do it.

I created a blank table in Microsoft Access named "Student Password". That table had all of the above cell names as fields.


I then imported the files (using file/import/external data) and created relationships with the tables so that they all related to the Student ID.

So far so good I think.

NExt I created a query using design view and selected the first table above and the newly created blank table.

When I run the query nothing happens. my blank table stays blank.



I then created queries using the "Student ID" as the relation.
Jan 7 '07 #1
1 1661
NeoPa
32,556 Expert Mod 16PB
Maybe an easier solution would be to link to the three spreadsheets which enables you to use them like (basic) Access tables.
Next create an APPEND query based on a linked query of all three tables
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO [Student Password]
  2. ([Student ID],[Last Name],[First Name],[Teacher],[Grade],
  3.  [FCAT Username],[FCAT Password],
  4.  [Pearson Username],[Pearson Password])
  5. SELECT S1.[Student ID],
  6.        S1.[Last Name],
  7.        S1.[First Name],
  8.        S1.[Teacher],
  9.        S1.[Grade],
  10.        S2.[FCAT Username],
  11.        S2.[FCAT Password],
  12.        S3.[Pearson Username],
  13.        S3.[Pearson Password]
  14. FROM ([Spreadsheet 1] AS S1
  15.   INNER JOIN [Spreadsheet 2] AS S2
  16.     ON S1.[Student ID]=S2.[Student ID])
  17.   INNER JOIN [Spreadsheet 3] AS S3
  18.     ON S1.[Student ID]=S3.[Student ID]
Your names may be different but I've assumed exactly as you've posted.
Jan 8 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Mahesh Hardikar | last post by:
Hi , Oracle 8.1.7.0.0 on HP-UX 11.0 I am a newbie as far as PL-SQL is concerned . I have Sybase/MSSQL T-SQL background. We have a report which uses a select statement . This select...
8
by: Jerome Ranch | last post by:
Okay So I've got pivot tables setup in Access 2003. Only about 30K records in the current 2005 databases...the pivots summarize the info in a number of nice ways. I need to get the pivot tables...
2
by: Jim S | last post by:
To my surprise and chagrin, newer versions of Access have disabled the functionality that lets users change the data in linked tables that point to a range in an Excel workbook. This is "because of...
3
by: sparks | last post by:
I have read in a bunch of files and saved the filename in the table along with the idnumbers and names. Thing is they sent us some files that have to be changed now figures LOL in the...
2
by: Delores | last post by:
I have been running make-table queries to create 10 tables (one for each unit) that are exported to Excel spreadsheets. Because of my limited knowledge with code, I've created 10 separate queries...
2
by: rdemyan via AccessMonster.com | last post by:
I currently have code that brings up a form where the user can see a list of spreadsheets on my ftp site, select one and then download and import the spreadsheet into a table. All of this...
3
by: mnjkahn via AccessMonster.com | last post by:
I'm running Access 2003, modifying a query that has over 45 fields. When I right click on the field name in Query Design View, and then click Build, Access crashes before the Build window...
1
by: Raycaster | last post by:
I'm 3/4 finished 2 simple VB apps for a upcoming silent auction being held at my children's school. Very Simple - This is what it does: 1st app allows input and builds a text database Unit...
2
by: Marisol2 | last post by:
I have some queries in Access 2003 db that I have setup to display as pivots. I can go into design pivot table view and click on and then click on Export to Office MicroSoft Excel. The problem is I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.