Les Isaacs
Registered User.
- Local time
- Today, 10:43
- Joined
- May 6, 2008
- Messages
- 186
Hi All
What do I do with this
to get access to accept that startdate has been entered in UK format?
I've checked that regional settings in control panel are set to UK format.
Hope someone can help - because I've tried everything I can think of (formatting startdate as "dd/mm/yyyy", declaring it as a string, various other delimeters, etc etc), but all to no avail and now this is driving me nuts :banghead:
Thanks for any help.
Les
What do I do with this
Code:
Dim startdate As Date
startdate = InputBox("Please enter the start date:")
DoCmd.OpenReport "rpt_OrdersAnalysis5", acViewPreview, , "[InvoiceDate] > #" & startdate & "#"
I've checked that regional settings in control panel are set to UK format.
Hope someone can help - because I've tried everything I can think of (formatting startdate as "dd/mm/yyyy", declaring it as a string, various other delimeters, etc etc), but all to no avail and now this is driving me nuts :banghead:
Thanks for any help.
Les