Value Not Saved in table

milindmilind Member Posts: 130
Hello

I have created three fields cost1,cost2 & total cost.cost1 & cost2 are
flowfields and total cost is normal field .the value of total cost will be
total cost:=cost1+cost2
so I write following code in On-Aftergetrecord of a form

Calcfields(cost1)
calcfields(cost2)
total cost:=cost1+cost2 .the values are calculated properly on form
but total cost value is not inserted in table.
Can anybody help me.
Regards
Milind ](*,)

Comments

  • babbab Member Posts: 65
    Hi,
    you have to modify the record, to store the changes (MODIFY(TRUE) after calculating the value).
Sign In or Register to comment.