>hi every body,
>
>I wish to have the number of days of week ranging between 2 dates.( without use "for endfor ").
>
>i's possible ?
>
>
>bernhart
http://fox.wikis.com/wc.dll?Wiki~Weekdays~VFPDoing it by counting is too easy to code and it runs too slowly. The whole point is to create something encapsulated. Then you can make it as correct, fast, easy to understand and easy to maintain as possible.