Automatic unbound text box value

  • Thread starter Thread starter Kay Davies
  • Start date Start date
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
 
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,
 
Back
Top