I will calculate a age field from the entered age group and the actual year. I have made a new sub in html.pl called before_add_record. This sub is called just before the record is stored in the database, this is checked, it works. In this sub (before_add_record) I will do something like this:
$rec{'age'} = $year - $rec{'agegroup'};
The field "age" is never filled in. Can somebody tell me what I have to do that this field will be filled in?
Rene
$rec{'age'} = $year - $rec{'agegroup'};
The field "age" is never filled in. Can somebody tell me what I have to do that this field will be filled in?
Rene