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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using the data from different record



 
 
Thread Tools Display Modes
  #1  
Old March 26th, 2010, 03:17 PM posted to microsoft.public.access.reports
Nata
external usenet poster
 
Posts: 1
Default Using the data from different record

Hi all

I have a report of accounts’ balances. Balances are in USD and account
currencies. My reports picks up the currency rate associated with period and
calculates USD equivalent. It Looks like

GL account 1
Period A
Transaction ! Account currency amount ! Rate ! USD Equivalent
Transfer 1,000,000.00 103.00 9,708.74
Period activities total 1,000,000.00 103.00 9,708.74
Period A Ending Balance 1,000,000.00 103.00 9,708.74

Period B
Transaction Account currency amount Rate USD Equivalent
Transfer 55,000,000.00 103.00 533,980.58
Disbursement -100,000.00 103.00 -970.87
Period activities total 54,900,000.00 103.00 533,009.71
Period B Ending Balance 55,900,000.00 103.00 542,718.45

GL account 2
Period A
Transaction Account currency amount Rate USD Equivalent
Transfer 1,000,000.00 1.00 1,000,000.00
Period activities total 1,000,000.00 1.00 1,000,000.00
Period A Ending Balance 1,000,000.00 1.00 1,000,000.00

Period B
Transaction Account currency amount Rate USD Equivalent
Transfer 55,000,000.00 1.00 55,000,000.00
Disbursement -100,000.00 1.00 -100,000.00
Period activities total 54,900,000.00 1.00 54,900,000.00
Period B Ending Balance 55,900,000.00 1.00 55,900,000.00

I do not have any problems with USD, but I need to evaluate other currencies
with next month currency rate. So I need to insert next month currency rate
in the current month row and calculate the difference between these numbers.
I guess I am looking at “Using the value of next record in query”

Could you please give me some direction to go whit that?

  #2  
Old March 26th, 2010, 06:43 PM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Using the data from different record

Perhaps you left off this part, but I'm not seeing how/where your
transaction records include any date/time information.

"How" depends on "what" ... what does your underlying data look like?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Nata" wrote in message
...
Hi all

I have a report of accounts' balances. Balances are in USD and account
currencies. My reports picks up the currency rate associated with period
and
calculates USD equivalent. It Looks like

GL account 1
Period A
Transaction ! Account currency amount ! Rate ! USD Equivalent
Transfer 1,000,000.00 103.00 9,708.74
Period activities total 1,000,000.00 103.00 9,708.74
Period A Ending Balance 1,000,000.00 103.00 9,708.74

Period B
Transaction Account currency amount Rate USD Equivalent
Transfer 55,000,000.00 103.00 533,980.58
Disbursement -100,000.00 103.00 -970.87
Period activities total 54,900,000.00 103.00 533,009.71
Period B Ending Balance 55,900,000.00 103.00 542,718.45

GL account 2
Period A
Transaction Account currency amount Rate USD Equivalent
Transfer 1,000,000.00 1.00 1,000,000.00
Period activities total 1,000,000.00 1.00 1,000,000.00
Period A Ending Balance 1,000,000.00 1.00 1,000,000.00

Period B
Transaction Account currency amount Rate USD Equivalent
Transfer 55,000,000.00 1.00 55,000,000.00
Disbursement -100,000.00 1.00 -100,000.00
Period activities total 54,900,000.00 1.00 54,900,000.00
Period B Ending Balance 55,900,000.00 1.00 55,900,000.00

I do not have any problems with USD, but I need to evaluate other
currencies
with next month currency rate. So I need to insert next month currency
rate
in the current month row and calculate the difference between these
numbers.
I guess I am looking at "Using the value of next record in query"

Could you please give me some direction to go whit that?



 




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:48 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.