format() a text box

J

Jeff

I have a text box that displays a date (9-29-04). I only want the day value
to show (29). But I do not want to alter the ".Value" of the textbox. How
do I do this?
 
A

Allen Browne

Set the Format property of the text box to:
d

The box will show just the day number, until it receives focus.
Then the full date will show, so that the user can make the entry correctly.
 
J

Jeff

thank you
Allen Browne said:
Set the Format property of the text box to:
d

The box will show just the day number, until it receives focus.
Then the full date will show, so that the user can make the entry correctly.
 

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