It's in a VBA code where condition, as per:
DoCmd.OpenReport "ReportName", acViewPreview, , "SomeDateField > #29/08/2016#"
or
DoCmd.OpenReport "ReportName", acViewPreview, , "SomeDateField > #2016-08-29#"
It worked fine in the compiled adp, but not the accdb.