PC Review


Reply
Thread Tools Rate Thread

access 97 table / query extract fields to make columns?

 
 
=?Utf-8?B?UGV0ZXI=?=
Guest
Posts: n/a
 
      16th Oct 2006
Please help…I’m tearing my hair out with this! I have access 97, and a table
of data from a laboratory.

Each record has the fields site id, a date, a time, an analysis determinant
code number and a result of the analysis. The records may have the same site
id, date & time but a different analysis determinant code and analysis result
(ie a sample taken same date / time but being analysed for say 5
determinants). Also, other records may have different site ID’s, date time
det code and results.

I would like to end up with a table where I have a the site ID, date, time,
then each of the column’s after that contain the results for all the dets
analysed for that particular site / date / time!

I don’t have much experience in SQL…..!

Any help much appreciated.
Ta

 
Reply With Quote
 
 
 
 
Bill Mosca, MS Access MVP
Guest
Posts: n/a
 
      16th Oct 2006
Peter

That's exactly what you DO NOT want to do. If you create a table like you
describe, you are denormalizing the table you already have. If you want to
see the data displayed as you describe in a form, you can use a sub form. If
you want to see it in a report, use a group header for the site ID, date,
time. Put the rest of the fields in the detail section.

--
Bill Mosca, MS Access MVP


"Peter" <(E-Mail Removed)> wrote in message
news0DAF02E-4455-4AE0-817B-(E-Mail Removed)...
> Please help.I'm tearing my hair out with this! I have access 97, and a
> table
> of data from a laboratory.
>
> Each record has the fields site id, a date, a time, an analysis
> determinant
> code number and a result of the analysis. The records may have the same
> site
> id, date & time but a different analysis determinant code and analysis
> result
> (ie a sample taken same date / time but being analysed for say 5
> determinants). Also, other records may have different site ID's, date
> time
> det code and results.
>
> I would like to end up with a table where I have a the site ID, date,
> time,
> then each of the column's after that contain the results for all the dets
> analysed for that particular site / date / time!
>
> I don't have much experience in SQL...!
>
> Any help much appreciated.
> Ta
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Table Query - Too Many Fields Ben Microsoft Access Queries 6 5th Aug 2008 08:06 PM
query to extract the portion of text of fields in a Table Fuzuy Microsoft Access Queries 2 15th Oct 2007 04:58 PM
access97 table / query to convert some fields to columns?! =?Utf-8?B?UGV0ZXI=?= Microsoft Access 4 18th Oct 2006 12:22 AM
COUNT QUERY in make query table adding fields. =?Utf-8?B?RWxyaWM=?= Microsoft Access Queries 0 10th Jan 2005 02:27 AM
make a table that transpose columns to rows in an access query =?Utf-8?B?TWFyaw==?= Microsoft Access Queries 2 9th Nov 2004 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 PM.