>Hi All:
>
>Can anyone direct me to information on how to pop up a calculator or some dialog that will allow me to calculate a number to be entered into a text field?
>
>e.g.
>Instead of entering '62987' into a text field, I would somehow like to be able to enter 44234+12542+6211.
>
>Thanx,
>
>Yossi
Yossi,
There are multiple ways.
-You could invoke default calculator with 'Activate window calculator' and get calculated value with _CalcValue
-Yopu could simply call an inputbox and ask for text. ie:
lcCalc = InputBox('Calculate','Enter your expression')
* User enters 44234+12542+6211
? iif(empty(lcCalc),0,Evaluate(lcCalc))
-Create a modal form that would get calculation similar to inputbox etc.
Cetin