Hi Raveen,

Thanks for reply !

Epoch value never changed, allways be 30.
But putting the database date-fields first in local variable date fields solves the error message !!!

I changed like this and it functions (again) :
Date dDeb dFin
Move par_frai.deb_acces_hp to dDeb
Move par_frai.fin_acces_hp to dFin
Constrain hp.dat Between dDeb and dFin

Thanks for the workaround Raveen !

... but the problem for DAW that new error messages appearing after new compile and without changes in a view is still there. Some suspicion for this, because it was the only global change I could find : I declare a new global string and for me it's perhaps a side effect ?! Because, again, this constrain command with database date-fields worked fine for 12 years and we are still in VDF15.1 at the moment and waiting the release of VDF17.1 to also release a new version of our software that runs only in house in a beta version with latest VDF

Regards,
Fred