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

Average time by work week

Status
Not open for further replies.

discusmania

IS-IT--Management
Oct 24, 2000
158
AP
Hi guys... can u help me?

1. In my table named action, i've fields called date_enter, date_close and category (and other fields).

2.I used the :
dateDiff("d",results("date_enter"),results("date_close"))
to calculate number of days between date_enter and date close

3.Then i check date_close of that record fall on what week of the year. and the record belong to which category.i.e downtime, quality, etc.

4.the program should accumulate all the records with same workweek and category till end of records.

5.The accumulated value will then be divided by the number of records with the same workweek and category, to get the average time.

who can help me to do this?

Thanks so much in advance.

Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top