Not having worked with the SQL version, I can only guess, but when a problem like this comes up in the other version, it's often because there are fields missing in sub html_record_form. Are you sure you have all of the fields from your .cfg file in sub html_record_form?
JPD
JPD