thanks june seems to be working
just a tiny problem...
im using the code below to display the dates on the report
Code:
="Between"+Format([Forms]![ViewReportsForm]![StartDate],"\ d\ mmmm\ yyyy")+" to "+Format([Forms]![ViewReportsForm]![EndDate],"d\ mmmm\ yyyy")
i made sum changes to the code and ended up with this ...
Code:
="Between " & IIf(IsNull([StartDate]),DMin([Day_Month_Year),Format([Forms]![ViewReportsForm]![StartDate],"\ d\ mmmm\ yyyy")) & " to " & IIf(IsNull([EndDate]),DMax([Day_Month_Year]),Format([Forms]![ViewReportsForm]![EndDate],"\ d\ mmmm\ yyyy"))
but it does not seem to be working