adding in a table field

subrata.baurisubrata.bauri Member Posts: 21
I have a table name table1 and its fields are value1, value2 and Total.
I want that when I am inserting values in the fields value1 and value2, the Total field calculates the (value1+value2) and show the result.


Is it possible?How??

Comments

  • HalMdyHalMdy Member Posts: 429
    In trigger OnValidate of field Total, put the calculation like :

    total = Val1 + Val2


    for each Val field, in trigger OnValidate, put :

    VALIDATE(Total);
Sign In or Register to comment.