Report Builder Selection

Our fiscal periods don't get changed soon enough to use the system fiscal period for some reports so I've done something like the following on several reports.

LastMonthInvoice: IIF(YEAR(InvoiceDate) = YEAR(TODAY()) and MONTH(InvoiceDate) = MONTH(TODAY()) -1,True,False)

Then I use LastMonthInvoice in a filter (LastMonthInvoice = True). If I recall correctly the whole formula has a second part to deal with January (check for month = 1 and test invoice date against 12). If the weekly report is always run on the same day (such as Monday for the previous week) then LastWeekInvoice could be any InvoiceDate in the range TODAY() - 7 to TODAY() - 3.

-Todd C.

-----Original Message-----
From: Todd Hofert [mailto:thofert@...]
Sent: Tuesday, July 15, 2003 7:24 AM
To: Vantage List (E-mail)
Subject: [Vantage] Report Builder Selection


I have a couple of handful of Report Builder sales reports that run automatically each month and each week. These reports then are e-mailed to our sales people throughout the country. Each report use the invoice detail table records to summarize the sales for each rep by month and by year. I currently use Fiscal Year and Fiscal Period to make my selection of records. The problem with that is that as our sales staff grows it becomes increasingly difficult to edit the reports each month/week as each report is unique to each sales person. Is there a way to write a calculation that will automatically select records from the current month? Previous month? What about the current week or the last seven days?

Any help would be greatly appreciated.

Thanks

Todd Hofert
IT Director
Spartan Graphics, Inc.



Yahoo! Groups Sponsor

ADVERTISEMENT
<http://rd.yahoo.com/M=194081.3551198.4824677.1261774/D=egroupweb/S=1705007183:HM/A=1663535/R=0/SIG=11ps6rfef/*http://www.ediets.com/start.cfm?code=30504&media=atkins> click here
<http://us.adserver.yahoo.com/l?M=194081.3551198.4824677.1261774/D=egroupmail/S=:HM/A=1663535/rand=332082888>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]
I have a couple of handful of Report Builder sales reports that run automatically each month and each week. These reports then are e-mailed to our sales people throughout the country. Each report use the invoice detail table records to summarize the sales for each rep by month and by year. I currently use Fiscal Year and Fiscal Period to make my selection of records. The problem with that is that as our sales staff grows it becomes increasingly difficult to edit the reports each month/week as each report is unique to each sales person. Is there a way to write a calculation that will automatically select records from the current month? Previous month? What about the current week or the last seven days?

Any help would be greatly appreciated.

Thanks

Todd Hofert
IT Director
Spartan Graphics, Inc.
The current fiscal period and year are stored in the GLSyst table, I use an
inner join to that when generating reports to get the current period
figures.

Paul Oliver
Network Manager
Concentric Controls Ltd.


----- Original Message -----
From: "Todd Hofert" <thofert@...>
To: "Vantage List (E-mail)" <vantage@yahoogroups.com>
Sent: Tuesday, July 15, 2003 1:23 PM
Subject: [Vantage] Report Builder Selection


> I have a couple of handful of Report Builder sales reports that run
automatically each month and each week. These reports then are e-mailed to
our sales people throughout the country. Each report use the invoice detail
table records to summarize the sales for each rep by month and by year. I
currently use Fiscal Year and Fiscal Period to make my selection of records.
The problem with that is that as our sales staff grows it becomes
increasingly difficult to edit the reports each month/week as each report is
unique to each sales person. Is there a way to write a calculation that will
automatically select records from the current month? Previous month? What
about the current week or the last seven days?
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Todd Hofert
> IT Director
> Spartan Graphics, Inc.


This e-Mail (and any attachments) should only be read by the intended
addressee(s) and not be relied upon without subsequent written confirmation
of its contents. Concentric Controls Ltd. accepts no liability for the
consequences of any person acting on such information prior to the receipt
of such confirmation. If you are not the intended recipient, you are not
authorised to, and must not use, disclose, copy, distribute, or retain this
message, its attachments or any part thereof. Any views or opinions
expressed are those of the author and do not necessarily reflect the
opinions of Concentric Controls Ltd.

Concentric Controls Ltd. www.concentriccontrols.com
Priory Road, Aston, Birmingham B6 7LH, UK
Tel: +44 (0)121 327 1662 Fax: +44 (0)121 328 2498