Automatic unbound text box value

K

Kay Davies

I have set up an unbound text box which is called
txtEntryYear. I want it to show the year 2000 when someone
goes into the form and then there are scroll buttons to
move up and down years.

Can anyone help with getting the code right to have the
year visible to start with as everything I try does not
seem to work.

I would be grateful for any suggestions.

Many thanks
Kay
 
C

Cheryl Fischer

Have you tried using the Default Value property of the text box? Just
right click on the text box while in design view of the form. When the
popup menu appears, select Properties. On the Properties page, click the
tab labeled "Data", then in the Default Value property, type:

=2000


hth,
 

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