473,324 Members | 2,268 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,324 software developers and data experts.

Help needed in matching up records!

Hi,

I have a report that has been generated via a web base application
which shows how many time as person has been using an application.. I
have saved the results in Excel 2000 format and imported it into
Access 2000 as a table.

The results include user ids in the form "Domain_name\smithra". I have
managed to strip away the Domain_name leaving only the userid by using
a query..

I have a staff database in SQL 7 which I need to match up with the
userid query results I now have in Access.

I have imported the Staff database into Access but now need to somehow
join the query to match those records within the imported SQL Staff
table which also has a column with the same userid.

i.e. Query Userid = SQL Table Userid to give other details of person
in staff database such as Department, Title etc

Any help will be greatly appreciated.

Thanks

Steve
Nov 12 '05 #1
1 1355
TC
Just write a new query:

SELECT *
FROM [TheQuery] AS q,
[TheTable] AS t
WHERE q.userid = t.userid

HTH,
TC
"Steve" <mu******@hotmail.com> wrote in message
news:3e*************************@posting.google.co m...
Hi,

I have a report that has been generated via a web base application
which shows how many time as person has been using an application.. I
have saved the results in Excel 2000 format and imported it into
Access 2000 as a table.

The results include user ids in the form "Domain_name\smithra". I have
managed to strip away the Domain_name leaving only the userid by using
a query..

I have a staff database in SQL 7 which I need to match up with the
userid query results I now have in Access.

I have imported the Staff database into Access but now need to somehow
join the query to match those records within the imported SQL Staff
table which also has a column with the same userid.

i.e. Query Userid = SQL Table Userid to give other details of person
in staff database such as Department, Title etc

Any help will be greatly appreciated.

Thanks

Steve

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: netpurpose | last post by:
I need to extract data from this table to find the lowest prices of each product as of today. The product will be listed/grouped by the name only, discarding the product code - I use...
20
by: titi | last post by:
Question The road and traffic authority for a small country currently uses a system to store information about all 'currently' licensed drivers. A licensed driver has the following info stored...
9
by: Robert Schneider | last post by:
Hi to all, I don't understand that: I try to delete a record via JDBC. But I always get the error SQL7008 with the error code 3. It seems that this has something to do with journaling, since the...
3
by: Randy Harris | last post by:
I've been trying to construct a Crosstab query (mess pasted below) that would output all rows, even if the Value (a count) is 0. No matter what I do, it only returns rows that have matching...
6
by: Jamal | last post by:
I am working on binary files of struct ACTIONS I have a recursive qsort/mergesort hybrid that 1) i'm not a 100% sure works correctly 2) would like to convert to iteration Any comments or...
4
by: bill salkin | last post by:
The code below creates a dataset containing a table called "Customers" from the Northwind database Later on in my code, after the database connection is closed, I need to access this dataset to...
7
by: Ladysniper | last post by:
DESPERATE doesn't begin to describe it. Can someone PLEASE tell me what is WRONG with this code? Now..a bit of background. It is a search results page for http://www.azsoma.info/directory.htm....
1
by: Chris Newman | last post by:
I am working on a script to process a large number of old electoral records. There are about 100,000 records in all but here is a representative sample BTW hd =household duties ALLISON,...
1
by: Coll | last post by:
I'm working on a database that someone else created. I have a form - frm_main that is based on a query that is based on two tables. The join is such that the first table tbl_JCN has all records...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.