By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,509 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,509 IT Pros & Developers. It's quick & easy.

calculating month end returns in expressions???

P: n/a
db
I am trying to build a db in Access2000 that will allow me to
calculate month end returns on investments. I am about to try VBA for
the first time, but wonder if I can do what I want by using
expressions in a query. Here's the problem...how do I make an
expression for a record that pulls another record needed to complete
the expression. IE, I am in the record for last months market value
and need to access the prior months market value to do the calcuation.
I am probably missing something really easy, but any help would be
appreciated. Is there a better way? Thanks!
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
To get the last day of last month, subtract the day of the current month,
e.g.:
Date() - Day(Date())

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"db" <db******@mail.com> wrote in message
news:7b**************************@posting.google.c om...
I am trying to build a db in Access2000 that will allow me to
calculate month end returns on investments. I am about to try VBA for
the first time, but wonder if I can do what I want by using
expressions in a query. Here's the problem...how do I make an
expression for a record that pulls another record needed to complete
the expression. IE, I am in the record for last months market value
and need to access the prior months market value to do the calcuation.
I am probably missing something really easy, but any help would be
appreciated. Is there a better way? Thanks!

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.