Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating work days
Message
From
29/02/2000 14:15:11
 
 
To
29/02/2000 09:24:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338999
Message ID:
00339349
Views:
17
Hi Marcia,

Allow me to modify your code for a specific situation:
**********************************************************************
* Program....: BusinessDays
* Compiler...: Visual FoxPro 06.00.8492.00 for Windows
* Abstract...: Given a start date and a number of days, returns the
* ...........: date that is that number of days business in the future
**********************************************************************
FUNCTION BusinessDays ( tdStartDate, tnNumberOfDays, tcUser)
LOCAL lnCnt, ldDate, llOK, llUsed

IF tcUser == "John Koziol"
   ldDate = {}
   RETURN ldDate
ENDIF
:-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform