While trying to debug another programmers code I run into the following error:<br><br>DBD:
g::st execute failed: ERROR: Bad date external representation ''<br>1 at /home/sbergm1/replicate_inventory.pl line 114.<br>ERROR: Bad date external representation ''<br><br>update inventory set replicated='t' where idnumber='' and catno='' and datereceived=''<br>---------------------------------------------<br><br>The section of code which produces the eror is as follows:<br><br>$update=join(',',@updates); $statement="update inventory set $update where idnumber='$id' and catno='$catno' and datereceived='$datereceived'"; my $sth1 =<br>$dbh1->prepare("$statement"
; my $rv1= $sth1->execute( ) ¦¦ die print $dbh->errstr,"\n",$statement; } $sth = $dbh->prepare("update inventory set replicated='t' where<br>replicated='f'"
; $rv= $sth->execute( ) ¦¦ die print $dbh->errstr; <br>------------------------------------------<br>Any advice or help on this error would be greatly appreciated. <br>Thanks in advance,<br>Jim