A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

working with queries



 
 
Thread Tools Display Modes
  #1  
Old November 1st, 2007, 05:45 PM posted to microsoft.public.access.tablesdbdesign
sparky
external usenet poster
 
Posts: 15
Default working with queries

Thanks for the help in my past posts.

Here I go again.

This is what I need to do. I need to look at a certain cell in the first
record of a set I queried for. I need to compare this cell with a different
cell, in the last record of this set. I want to see both of these cells from
within a report, and I want to subtract the 1st cell from the 2nd, arriving
at an answer which will also show on report.


Another question I have is there a way to autofill a cell in a record with
info from the previous record? Like in EXCEL where you can, in cell B2:
"=A1" and whatever you put in A1 automatically is entered into B2.

Any help will be appreciated.

Rick
  #2  
Old November 1st, 2007, 07:59 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default working with queries

Access doesn't have "cells" (no matter what they look like.

If you have a query, the rows it returns are NOT in any particular order
unless YOU specific how they are to be sorted.

If you have two different values (in two different rows), what is it about
the records those rows represent that makes it make sense to compare the
two. I'm not asking out of simple curiosity, but to better understand WHY
this needs to happen. For example, if I took a series of measurements on an
item, over time, and wanted to compare the "final" measurement with the
"first" measurement, I would do that by using a combination of queries.

More specific description may lead to more specific suggestions.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"sparky" (spamfree) wrote in message
...
Thanks for the help in my past posts.

Here I go again.

This is what I need to do. I need to look at a certain cell in the first
record of a set I queried for. I need to compare this cell with a
different
cell, in the last record of this set. I want to see both of these cells
from
within a report, and I want to subtract the 1st cell from the 2nd,
arriving
at an answer which will also show on report.


Another question I have is there a way to autofill a cell in a record with
info from the previous record? Like in EXCEL where you can, in cell B2:
"=A1" and whatever you put in A1 automatically is entered into B2.

Any help will be appreciated.

Rick



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.