wilekoyote76
MIS
Thanks to Gary Parker for his help getting the lastdate formula working properly for me in a whole lot less code too!
Being that I am a newbie at CR and have XIr2...I used this to call the LastDate formula and find the difference between it and the current date. It brings up 0s. What am I doing wrong? I just want it to display the difference either in the original LastDate or in this new formula. Preferably in this new formula
Formula: Days_Since_Last_Action
-----------------------------------
DateTimeVar LastDate;
numberVar Days_Since_Action;
If LastDate < CurrentDate then
Days_Since_Action :=DateDiff ("d", LastDate, CurrentDate);
Being that I am a newbie at CR and have XIr2...I used this to call the LastDate formula and find the difference between it and the current date. It brings up 0s. What am I doing wrong? I just want it to display the difference either in the original LastDate or in this new formula. Preferably in this new formula
Formula: Days_Since_Last_Action
-----------------------------------
DateTimeVar LastDate;
numberVar Days_Since_Action;
If LastDate < CurrentDate then
Days_Since_Action :=DateDiff ("d", LastDate, CurrentDate);