I have a report that picks up a date from a textbox and uses this date as its filter. However, it will only bring through the data is I turn the date into the American format of mm/dd/yy
Everything in the system to the best of my knowledge is in the UK style of date.
Can anyone advise on why I'm getting this problem and if there is a work around. I've added the line as it should be at how I can get it to work
Thanks
Everything in the system to the best of my knowledge is in the UK style of date.
Can anyone advise on why I'm getting this problem and if there is a work around. I've added the line as it should be at how I can get it to work
Code:
DoCmd.OpenReport "RptLoanActivity", acViewPreview, , "((MaturityDate) = #04/18/04#)"
'"((MaturityDate) = #" & me.tbMaturityDate & "#)"
Thanks