Are your users frequently typing today’s date into their forms? You can set the default properties for the date field so that they will never have to type the date again. For example, say you use a form based on the Orders table for entering each day’s orders as they are processed. Follow these steps:
- Open the Orders table in Design View.
- Click on the Date field.
- In the Table Properties window, click in the Default text box and enter Date().
- Click the drop-down arrow of the Format text box and select Short Date (Figure A).
- Save the table.
Now, Access will automatically fill in today’s date for any new records (Figure B). Any form based on this table will also have the current date entered by default.
Miss an Access tip?
Check out the Microsoft Access archive and catch up on other Access tips.
Help users increase productivity by automatically signing up for TechRepublic’s free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.
Subscribe to the Developer Insider Newsletter
From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays