I have a database with the last field called "notes". As this field does not necessarily have a value, the code in html_record states
if ($rec{'notes') { print "blablabla"; }
For some reason, the code indicated with "blablabla" is ALWAYS printed, even when the field is empty. I was thinking that this may have to do with the field being the last one in the database. Perhaps dbman somehow considers the carriage-return at the end of the line in the db-file to be a field value? If so, how to get around this?
Cheers,
kellner
if ($rec{'notes') { print "blablabla"; }
For some reason, the code indicated with "blablabla" is ALWAYS printed, even when the field is empty. I was thinking that this may have to do with the field being the last one in the database. Perhaps dbman somehow considers the carriage-return at the end of the line in the db-file to be a field value? If so, how to get around this?
Cheers,
kellner