By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,410 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Access 2003: Make a combo box value equal todays date

P: 19
I tried setting up a new combo box to have todays date as a user choice by setting its property to a value list. Then for the row source it set it to =Date(). Access will not show what the expression equals but only the expresion formula itself. What am I doing wrong here? Thanks in advance!
Aug 3 '10 #1
Share this Question
Share on Google+
3 Replies


P: 19
I figured out another way to get around this by entering todays date on an afterevent is called.
Aug 3 '10 #2

Jerry Maiapu
100+
P: 259
You should have also put
Expand|Select|Wrap|Line Numbers
  1. =Date()
as default value ..
This way you can have the chance of editing/changing
Aug 4 '10 #3

NeoPa
Expert Mod 15k+
P: 31,769
If you have a ComboBox that includes today's date as a value, then all you need do to select this value is set the value of the ComboBox to today's date :
Expand|Select|Wrap|Line Numbers
  1. Me.cboDates = Date()
Where you put this depends on what exactly you're after, but the Form_Open() event procedure works for most cases.
Aug 4 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.