This topic is locked

Calculated Field in add/edit pages.

3/27/2008 2:51:38 PM
ASPRunnerPro General questions
T
tlitts13 author

Is it possible to calculated a data entry field based on previously added info. For example, have 3 fields:
NumberShipped

PercentMortality

NumberDelivered
Is it then possible in the add/edit environments to calculate and populate on the fly - NumberDelivered based on numbers added in NumberShipped and PercentMortality?
Thanks in advance.
Thom

J
Jane 3/28/2008

Thom,
use Before record added and Before record updated events on the Events tab for this purpose.

Here is a sample:

dict("NumberDelivered") = CInt(dict("NumberShipped"))+CInt(dict("PercentMortality"))