Hello,
question one:
==============
I have a table with the following fields
all of the type currency
A
B
C
Now i made a form based on the same table
form looks also like
A
B
C
now i want that in field C the result will be recorded of the expression A-B
So the formula i want to use is C=A-B
On the formfield C i made the expression =[A]-
Ok now when i put values into A and B he calculates C offcourse but i want the form to store that result in the table as well!
but now it only displays C on the form but i don't record the result of the calculation in the table!
Anybody know how i can make it that it saves C in the table??
Question two:
===============
When A-B is smaller then 0 then the result of C should be 0. so NO negative numbers...but it don't work now...when i put in par example in A 5 and in B 7 then i see in the formfield C the result -2 and that should be 0.
Anybody know how to solve both or just one problem with visual basic or something else???
thanks in regards,
FREAK
question one:
==============
I have a table with the following fields
all of the type currency
A
B
C
Now i made a form based on the same table
form looks also like
A
B
C
now i want that in field C the result will be recorded of the expression A-B
So the formula i want to use is C=A-B
On the formfield C i made the expression =[A]-
Ok now when i put values into A and B he calculates C offcourse but i want the form to store that result in the table as well!
but now it only displays C on the form but i don't record the result of the calculation in the table!
Anybody know how i can make it that it saves C in the table??
Question two:
===============
When A-B is smaller then 0 then the result of C should be 0. so NO negative numbers...but it don't work now...when i put in par example in A 5 and in B 7 then i see in the formfield C the result -2 and that should be 0.
Anybody know how to solve both or just one problem with visual basic or something else???
thanks in regards,
FREAK