Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Active Employee Formula Post Reply Post New Topic
<< Prev Page  of 2
Author Message
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 11 Aug 2010 at 11:07am
That formula should do this (but validate the data to make sure).
here is the logic:
{?date} in {EMP_MAST.GLB_STDT} to (if {EMP_MAST.TERMDATE}=Date (1899,12,31) then currentdate else {EMP_MAST.GLB_STDT})
 
the RED part uses either the existing temdate or todays date if they are still working (12/31/1899).
Then the other part just used the parameter date to see if it falls anywhere between each person hire date and 'term date'. If it does then include them in the report.
Hope that helps explain the process I was using Smile


Edited by DBlank - 11 Aug 2010 at 11:08am
IP IP Logged
<< Prev Page  of 2
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.015 seconds.