Jump to content

Recommended Posts

Posted

Can anyone tell me what's worng with this filter condition?

 

Student.Personal.Dateentry>Var('EntryDate')

 

I have EntryDate setup as a date in variable but when I run a report with EntryDate=30/12/2010 for example I get a list of pupils who are born on the 31st of any month

Posted

does it not want the date in the format dd-mm-yyyy which is the standard way I usually use them?

 

(Awaits @michael2k6 coming and telling me i'm a plank as i've missed the really obvious!)

Posted

It could be because Facility isn't seeing both of those things as dates. Try this, to explicitly cast everything as a date:

 

datekey(Student.Personal.Dateentry)>datekey(Var('EntryDate'))

 

Nick

  • Thanks 2
Posted
It could be because Facility isn't seeing both of those things as dates. Try this, to explicitly cast everything as a date:

 

datekey(Student.Personal.Dateentry)>datekey(Var('EntryDate'))

 

Nick

 

Thanks Nick

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...