By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,486 Members | 2,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,486 IT Pros & Developers. It's quick & easy.

locking the default value of a text box

100+
P: 243
i have a text box on my form and a default value set to "09-" obviously for the current year... there will then be a four digit number entered afterwards... i wanted to know if it is possible to lock that "09-" so it cannot be changed in the form but i can still add the four digit number afterwards... thank you!
Feb 4 '09 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,287
Use an input mask and the escape character "\" in front of the 0,9,-. Something like
\0\9\-00\-00;0;_
should work.
More info: Customize input masks
Feb 4 '09 #2

100+
P: 243
thanks for that...very interesting information... much appreciated
Feb 4 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.