date formats in report

ndendrinos

Well-known Member
Joined
Jan 17, 2003
Messages
1,694
Hello to all,
I have a report that prompts me to enter the "start date" to "end date"
I have formated the dates for the report to : dd mm yyyy
Odly enough that translates to 12/31/2003 and that's OK .

My problem is with the prompter at the start date to get 12/31/2004 I have to type the start date as 31/12/2003 .... But hey...I'm easy ... so that's OK too.
To get the end date I have to type 12/31/2004 ... but then again it's Christmas so that's OK also...
BUT... while the dates of the report are OK the dates in the top of my report showing the range chosen is all wrong...
Here is what it looks like:

Purchases by Company From: 12/31/2003 to 31/12/2004

Apple.....12/31/2004....$5.00

I keep changing the format of the date field in the date range to dd mm yyyy to no avail.... cna anyone help ?

Thank you
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi

You might want to start by checking the global settings on the PC (on the Control Panel) as well as checking the formats in the underlying tables, queries and in the report.

In your query you can also change the way the prompt appears, so instead of having : =[Enter start date] you can have something like : =[Enter start date (format dd/mm/yyyy)] so that the user is prompted for the correct format.

Lastly, there is a 'Format' function that you might be able to use in your query if none of the above suggestions work.

HTH, Andrew :)
 
Upvote 0

Forum statistics

Threads
1,221,837
Messages
6,162,282
Members
451,759
Latest member
damav78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top