6am to 6am how would that formula show? I'm still having trouble with it.
This is my current formula
{TRANS.TypeDescription} = "ISSUE" and
{TRANS.Transdate} = dateadd("h",6,datetime(currentdate)) to dateadd("h",-18,datetime(currentdate)) and
{TRANS.Crib} in 2 to 2
Crystal syntax is a bit unusual when filtering on a range = the keyword is 'in', the values are separated by 'to', and the range values need to be wrapped with square brackets:
{TRANS.TypeDescription} = "ISSUE"
and
{TRANS.Transdate} in [dateadd("h",-18,datetime(currentdate)) to dateadd("h",6,datetime(currentdate))]
and
{TRANS.Crib} in 2 to 2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.