Hey Ken,
I have an 2-yr old file here called ILX which I designed to do that (and a bunch of other stuff too but you can always remove the additional functionality).
>Hello all,
>
>Is anyone aware of a numeric textbox class that has the following behavior:
>
>1 - allows user to type expression i.e. 32+45 and stores result - in this case 77 to field
>2 - user could just type +50 to add 50 to the previous value that was in the field and store new value back to field
>3 - works/editable in a grid - grid should be "bound" (i.e. display) all correct values but take on described behavior when field gets focus.
>
>I was hoping to avoid having to code this, so if anyone has or knows of a class, I would appreciate being pointed in that direction.
>
>Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05