Is your textbox bound or do you fill it manually?
-If your textbox is bound to a database, change your SQL query to divide your current value by 100 (and you will need to multiply it on save).
-If your textbox is bound to a class property, you can modify your property code to do the operation.
-If you fill it manually, then do the operation when feeding the control.
>Hi,
>Where should I place the code to divide the value by 100?
>
>Thank you
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com