>From a digit (1 to 7) how do I get the day? I forgot if there is a native function in Fox to do that.
>
>For example
>
>GiveMeTheDay( 2) would give a result of "Monday"
Try
FUNCTION cWeekDay
LPARAMETERS;
tnDayNumber
RETURN CDOW(DATE()-DOW(DATE(),0)+tnDayNumber)
ENDFUNC
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]