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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Date of Service

Status
Not open for further replies.

terenceb

Programmer
Jun 10, 2003
77
US
Hi ALL,

I am using Crystal 8.5 pulling data from SQL tables from Cashe database.

I need a formula to count dates of service and put them into catagories as such.
Bi-Weekly, Weekly, Bi-Monthly, Monthly, Quarterly.

I am displaying details on the number of visits provided by a clinician to their clients.
 
Please post some sample data, and examples of how you would like it returned.

 
Staff 130

Client Service Date of Ser Duration Contacts
10020 L184 10/01/2003 30min 1
10020 P184 10/07/2003 30min 1
11432 L184 10/14/2003 30min 1
11432 P102 11/15/2003 30min 1
19953 L184 11/23/2003 30min 1
19953 Z999 11/26/2003 30min 1

Bi–Weekly Weekly Bi-Weekly Monthly Quarterly Total
1 1 1 3

The report should determine staff for all the clients they provide services to , over a 3 month date range, whether they have been seen Bi weekly- (2 visit or more a week), Weekly-(1 visit a week), Bi-weekly-(2 visits a month), Monthly-(1 visit per month) or Quarterly-(1 or 0 visits in this 3 month date range)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top