Can not print all dates unles I use last year

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I have:
Datefrom = nz(datefrom(Dmin("DateFld","table"))
stfilter = "DateFld <=#" & datefrom & "#"
docmd.openreport "List",acpreview,stfilter

But All I get is 18th Oct 2008, not 11th oct 2008 unless I enter 11th Oct
2007 as the datefrom. 11th oct 2008 is what the datefrom line picks up and
is the minimum value.

Thanks,
J.
 
Back
Top