f_duree(VAR _heuredebut : Time;VAR _heurefin : Time) _duree : Time
// _Duree en hh:mm:ss
IF (_heurefin<>0T) AND (_heuredebut <> 0T) THEN BEGIN
_duration := _heurefin-_heuredebut; // duration = integer
_duree := 000000T + _duration; //
***** not _Duration + 0000T ****** ](*,) INCREDIBLE !!!
END;
Comments
I don't think I would have tried reversing it like that, good catch =D>
RIS Plus, LLC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RIS Plus, LLC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.