mdelgado100
Technical User
I’m working in Crystal 8 and using Oracle database.
I’ve created a report that can calculate the date and time of an entry positing upto the current time and date. So in other words I can tell you how long ago an entry was made. See formula below
I ‘m don’t know how to construct a formula that could give me the difference in time between each entry. (This report contains multiple instances of entries) What is, the time that has elapsed since any two entries first or last or anywhere in-between.
I appreciate any help or direction you can give me.
Thanks ~ md
----------------------------
(Time Elapsed Since Last Entry) Formula
dateTimeVar dt1:= {Incident_Details.LastModified};
DateTimeVar dt2:= currentdatetime;
if ({Incident_Details.LastModified}) <> currentdatetime
then
(Numbervar age := datediff("s", dt1,dt2)
else 0
I’ve created a report that can calculate the date and time of an entry positing upto the current time and date. So in other words I can tell you how long ago an entry was made. See formula below
I ‘m don’t know how to construct a formula that could give me the difference in time between each entry. (This report contains multiple instances of entries) What is, the time that has elapsed since any two entries first or last or anywhere in-between.
I appreciate any help or direction you can give me.
Thanks ~ md
----------------------------
(Time Elapsed Since Last Entry) Formula
dateTimeVar dt1:= {Incident_Details.LastModified};
DateTimeVar dt2:= currentdatetime;
if ({Incident_Details.LastModified}) <> currentdatetime
then
(Numbervar age := datediff("s", dt1,dt2)
else 0