I have a dilemma I am seeking suggestions on…
In the health care industry, each enrollment period is regulated by the government (called production periods). Because of this, all of our reporting is done by production period. What we want to do is to have reports automatically run for current production month to date. For example, if the production period is 6/26/98-7/27/98, on 7/13, if the report is run, we want it to automatically detect the beginning and ending parameters based on the current date.
I am looking as to ways to do this. Obviously I will need a table in my database, but what are some good ways to build this into the universe and into the reports?
I am thinking this table structure:
current_date begin_date end_date
======== ======= ======
6/26/98 6/26/98 7/27/98
6/27/98 6/26/98 7/27/98
6/28/98 6/26/98 7/27/98
…
7/27/98 6/26/98 7/27/98
7/28/98 7/28/98 8/26/98
7/29/98 7/28/98 8/26/98
…
Basically, I want the report to do this: When the report is run, it looks at the current date, goes to this table, picks the beginning and ending dates and puts them into the beginning and ending date parameters for the report.
Any ideas?
Thanks,
Tim
Tim Heuer
PacifiCare Health Systems
(714) 825-5702 - office
(800) 946-4645 pin 1404017 - pager
heuer_tk@exchange.phs.com
Listserv Archives (BOB member since 2002-06-25)