Thank you for your help, I looked at the link, but I don’t have the skills to fully understand it, I will still try the code EXTRACT( WEEK FROM CURRENT_DATE );
I put this in a variable in Oncalc begin
value end; EXTRACT( WEEK FROM CURRENT_DATE );
end;
and this one:
begin
value end; (EXTRACT(YEARDAY FROM D) – EXTRACT(WEEKDAY FROM D-1) + 7) / 7 end;
But no data is coming out.
I don’t know if I’m putting this in the right place.