S
Simon Harris
Hi All,
I should start by saying that I have kind of covered this in a previous
post, but it got lost in the thread a little, so thought I would re post,
clarifying the question.
I have a table that stores gas and electricity readings for a Caravan park.
I need to write a query that will display the previous readings for both gas
and electric. (Storing idAllocation, Gas_Reading, Electric_Reading,
Reading_Date
So, the output should be:
idAllocation | Reading_Date | Gas_Reading | Electric_Reading |
Previous_Gas_Reading | Previous_Electric_Reading
I'm really struggling with this, have been trying to use dlookup to get the
previous readings from a seperate query, but how should the query be
structured?
Can anyone offer any advice on this, would be much appreciated!
Thanks,
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!
I should start by saying that I have kind of covered this in a previous
post, but it got lost in the thread a little, so thought I would re post,
clarifying the question.
I have a table that stores gas and electricity readings for a Caravan park.
I need to write a query that will display the previous readings for both gas
and electric. (Storing idAllocation, Gas_Reading, Electric_Reading,
Reading_Date
So, the output should be:
idAllocation | Reading_Date | Gas_Reading | Electric_Reading |
Previous_Gas_Reading | Previous_Electric_Reading
I'm really struggling with this, have been trying to use dlookup to get the
previous readings from a seperate query, but how should the query be
structured?
Can anyone offer any advice on this, would be much appreciated!
Thanks,
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!