Calculation in Field

W

Wahab

Hi there
I have on Continuos Form where i m entering Quantity from invoices, Sometime
I add 2 or 3 quantities and I want to avoid calculator, how i can do with
EVAl function please help me, I tried like this but error is coming:
after update ot TotalQty :
if not isnull(TotalQty) then
TotalQty=eval(TotalQty)
end if

my TotalQty format is standard with 3 decimals.
Thanks and regards
 
P

Paolo

Hi Wahab,
the field bound to the text box where you enter the data must be a text
field and when you enter your values you must put a + between them.
In this way it works.

HTH Paolo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top