You might at least be able to figure out what the problem is, even if you can't fix it.
In sub html_modify_success, the line that prints out the record is
&html_record(&get_record($in{$db_key}));
So you need to be sure that the variable $db_key is defined and that the variable $in{$db_key} is defined.
I would add a debugging line to the subroutine
print qq|--$db_key--<BR>--$in{$db_key}--|;
See what happens. You should get
--the name of your key field--
--the key value of the record you just modified--
See which one is missing.
JPD
In sub html_modify_success, the line that prints out the record is
&html_record(&get_record($in{$db_key}));
So you need to be sure that the variable $db_key is defined and that the variable $in{$db_key} is defined.
I would add a debugging line to the subroutine
Code:
print qq|--$db_key--<BR>--$in{$db_key}--|;
--the name of your key field--
--the key value of the record you just modified--
See which one is missing.
JPD