Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Last month formula

Status
Not open for further replies.

Llazwas

IS-IT--Management
Feb 16, 2007
58
US
I'm using an ODBC with Crystal X trying to get a "last month" suppression formula to work by using the dateadd formula
{AR_StatementWrk.TransactionDate}<= dateadd("M",-1,{@StatementDate to Date}).
What's happening is it's only suppressing detail up to the same day of last month. Example: If I run my report as of Dec 2 I still get detail for Nov 1. What I need it to suppress is detail for all prior months except the one I'm running it for.

Any help will be greatly appreaciated.
 
When I run my monthly summary reports

{AR_StatementWrk.TransactionDate} in LastFullMonth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top