Hey all..

Just a question that...what kind of data type that only allow user put only number and string in textbox..I ask this cuz.. I want to make a text box that allow user put a number for ex like this :

"15.7 In"
then after click on button convert it will convert to "cm" show up on the label..

but when i use data type string..user still can't put some thing that i don't repect likes this: "sfgfsfgsfgs in"

So how can we fix them..

and by the way..how can we use funtion right() to catch 2 last string on textbox ... I try it..but it had error..If some one has a sample code for this convertion...will be must appreciated..

Plz help..

Thanks