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

NEED AGING FORMULA THAT DOES NOT COUNT THE WEEKENDS

Status
Not open for further replies.

Nmartin95

MIS
Joined
May 29, 2002
Messages
19
Location
US
How can I get an aging formula which does not take into consideration the weekend? So it would be how ever long a work order was open not counting the weekends into the age. The formula would give it to me the age in days.
Any help would be greatly appreciated thanks. I am using crystal reports 7.01.
 
The only way that comes to mind is to loop through the dates from min to max and count them for

dayofweek({Table.Datefield}) < 6.

Someone must have a better means of doing this...

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top