Apr 10, 2006 #1 keeno MIS Feb 24, 2006 33 GB Hi, I am after a formula that will identify any records with a start/end date across a 96hr period (4 days). Any help on this matter would be greatly appreciated. Thanks Keeno
Hi, I am after a formula that will identify any records with a start/end date across a 96hr period (4 days). Any help on this matter would be greatly appreciated. Thanks Keeno
Apr 10, 2006 #2 satinsilhouette Instructor Feb 21, 2006 625 Keeno This isn't a lot of information, what version are you on? Did you want a parameter for someone to choose a start/end date or did you want to go against a specific date field? Dateadd("d", 4,{datefield}) will add 4 days to date or if you prefer in hours: DateAdd ("h",96, {datefield}) Upvote 0 Downvote
Keeno This isn't a lot of information, what version are you on? Did you want a parameter for someone to choose a start/end date or did you want to go against a specific date field? Dateadd("d", 4,{datefield}) will add 4 days to date or if you prefer in hours: DateAdd ("h",96, {datefield})
Apr 10, 2006 Thread starter #3 keeno MIS Feb 24, 2006 33 GB Sorry we are running Crystal Version 9. What I am looking for is: START DATE or END DATE is in the next 4 days. Thanks David Upvote 0 Downvote
Sorry we are running Crystal Version 9. What I am looking for is: START DATE or END DATE is in the next 4 days. Thanks David
Apr 10, 2006 #4 lbass Technical User Feb 9, 2002 32,818 US If you mean the next 4 days from the current hour, then use: {table.date} in currentdatetime to dateadd("h",96,currentdatetime) If you mean starting tomorrow, then use: {table.date} in currentdate+1 to currentdate+4 -LB Upvote 0 Downvote
If you mean the next 4 days from the current hour, then use: {table.date} in currentdatetime to dateadd("h",96,currentdatetime) If you mean starting tomorrow, then use: {table.date} in currentdate+1 to currentdate+4 -LB