98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Access Training and help » Dates
Dates
Resolved · Medium Priority · Version 2007
Kate has attended:
Access Introduction course
Access Intermediate course
Dates
I have a column of data which refers to date (dd/mm/yyyy hh:mm:ss) and I would like to create another column in the query which is just the date part (dd/mm/yyyy). Is this possible?
Thanks
RE: Dates
Hi Kate
Thank you for your question. Try this and see if it produces the results you are looking for:
Select your query and switch to design mode.
Clicking in the next free column in your query, in the Field row, give your new column a title eg short_date
add in a colon followed by the name of the exisiting field that contains the date you would like to reformat. So the full Field title for your new column becomes
short_date: [date]
where date is the name of the field you would like to reformat.
Press the enter key to commit the change then right click on the new field name you just entered and from the short menu choose Properties.
In the properties sheet that appears type in dd/mm/yyyy and press the enter key.
You can close the Properties sheet and run your query using the exclamation mark on the ribbon.
You should find your new field appears displaying the originaly date value but in your shorter date format.
I hope this helps - do let us know if you have any further questions.
Kind regards,
Andrew
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Access tip:Label printingYou can create a report in Access for printing labels All you have to do is is click New under the Reports object and then select Label Wizard and follow the steps |