Well
The txtStart has by Default Value Date(). If I write "yyyy" when I open the
form txtStar displays same dd/m/yyyy.
don't know what you mean by "the format's field", but the suggestion was to
> set the format property of the *text box* to "yyyy".
I did it, but txtStart shows the date as dd/m/yyyy.
"BruceM via AccessMonster.com" wrote:
> I don't know what you mean by "the format's field", but the suggestion was to
> set the format property of the *text box* to "yyyy".
>
> It is very unclear what you are trying to do. Is txtStart bound to a field?
> It seems you want to change the value in txtStart based on fraOptions, but
> only if the user clicks a command button (or whatever bAddYear is). If
> txtStart is unbound, the value will remain for every record until you click
> the command button again. Why not store the original date, and calculate the
> DateAdd date?
>
>
> sebastico wrote:
> >John
> >If I understood, I wrote "yyyy" in the format's field. However, the txtStar
> >still displays the entire date dd/m/yyyy.
> >On the other hand, could you tell me how to display year 1960 in txtStart
> >any time the forms is open?
> >
> >Many thanks for your kindness
> >
> >> >Hello
> >> >Access 2003
> >[quoted text clipped - 10 lines]
> >> the year portion. If you select into the field to edit it you'll see the
> >> entire date.
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/For...dules/201005/1
>
> .
>