Problem: textbox default value = Date()

Z

zSplash

I want an unbound textbox on my form to default to current date. In the
default value property of the textbox, I put "=Date()". Instead of today's
date, it defaults to the text "date". What am I doing wrong?

(I see if I bind the textbox to "=Date()", the value, of course, is today's
date, but I only want the default to be today's date, which can be changed
as needed.)

TIA
 
M

missinglinq via AccessMonster.com

Are you actually entering

"=Date()"

or are you entering

=Date()

without the double quotes?

If the latter, it should give you the date!

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
Z

zSplash

Excuse me. I am not entering the quotes. Sorry. (I go to the Expression
Builder | Common Expressions | Current Date and paste that, which results in
=Date() as the default value.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top