Saving a calculated field [message #294876] |
Sun, 20 January 2008 06:37 |
ashraf_al_ani
Messages: 92 Registered: October 2007 Location: Iraq
|
Member |
|
|
Dear all
I have a calculated field as
:quantity*:unit_price and the result goes to a field :total
all quantity and unit_price and total are fields in the database
but when i open my table the data in field "total" is empty
so how can I save the result in a form to my database for the total field
best regards
|
|
|
|
|
|
|
Re: Saving a calculated field [message #295076 is a reply to message #294876] |
Mon, 21 January 2008 04:50 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
ashraf_al_ani | so how can I save the result in a form to my database for the total field
|
Why would you do that? 'Total' value is redundant as it can always be calculated by multiplying 'quantity' and 'price'.
|
|
|