Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Input Mask

Status
Not open for further replies.

vr

Programmer
Oct 14, 1999
54
0
0
US
I am trying to create an input mask for an amount field. The length is 11 with an implied decimal. The format needs to allow for negative values as well.

ie:
Positive: 00000001234
Negative: -0000001234

Any suggestions?
 
I don't think this is exactly what you are looking for but I thought I would throw it out there anyway. The mask

#00000000000 would allow for entering a +/- and the number. However, it also allows for entering any other number as the first character. I do not know of a built in mask that would allow for forcing the first character to be a + or -.



Hope this helps.

OnTheFly
 
Perfect. Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top