ShaunMBrown
New Member
- Joined
- Sep 5, 2003
- Messages
- 5
Hello,
I'm fairly new to Access and I'm running into a problem with a query. I don't know if I'm approaching this incorrectly or if this is even possible but I've been searching through the posts and haven't found an answer.
The problem is this: I'm trying to run a query that has three columns (well in actuality, many more but the problem boils down to these three); An AutoNumber column, A Percentage column, and A Total column. What I want is for the Total column to equal the Percent column of this record multiplied by the Total column of the record with the previous AutoNumber (unless this is the first record, in which case it would equal the Percent column multiplied by an arbitrary starting number).
For example:
AN PER TOT
1 50% $100
2 50% $50
3 50% $25
4 50% $12.5
and so on...
Thank you in advance!
Shaun M. Brown
I'm fairly new to Access and I'm running into a problem with a query. I don't know if I'm approaching this incorrectly or if this is even possible but I've been searching through the posts and haven't found an answer.
The problem is this: I'm trying to run a query that has three columns (well in actuality, many more but the problem boils down to these three); An AutoNumber column, A Percentage column, and A Total column. What I want is for the Total column to equal the Percent column of this record multiplied by the Total column of the record with the previous AutoNumber (unless this is the first record, in which case it would equal the Percent column multiplied by an arbitrary starting number).
For example:
AN PER TOT
1 50% $100
2 50% $50
3 50% $25
4 50% $12.5
and so on...
Thank you in advance!
Shaun M. Brown