I trying to do a function for know what is the first day of a week, but I can´t until now.
I need something like that:
LOCAL ldate AS Date
LOCAL lWeek AS Integer
lWeek = 46
ldate = FDATEOFWEEK(lWeek)
The problem is that the SET FWEEK and SET FDOW could be any value.
Regards,
José Luis.
Quidquid latine dictum sit, altum sonatur