Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
What is the definition of 'LastMonth'? |
Author |
Message |
Dan |
|
Group | : Members |
Posts | : 1 |
Joined | : 2008-10-09 |
|
Profile |
|
Posted : 2008-10-09 11:01:11 |
I want to run a income statement report (ProfitAndLossStandard) for the most recent month for which the books are closed. Generally, that is MonthNum(Today()) - 2 if today's date is in the first two weeks of the month, and MonthNum(Today()) - 1 if we are in the last two weeks.
1) Is there an easy way to do this in Excel using QODBC? 2) Assuming no to #1, what is the definition of LastMonth in DateMacro? Is it the complete month preceeding this one - i.e. if today's date is 10/1/2008, then LastMonth is 9/1 - 9/30?
Thanks. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-10-09 11:37:33 |
|
|
|
|