<body onload='javascript:alert ("Cannot Delete, Record exists in other table(s)!!");'></body> <?php } else { $strwhere = "natureid='{$bcode}'"; $DelNat->DeleteTax('ebpls_buss_nature', $strwhere); ?> <body onload='javascript:alert ("Record Deleted!!");'></body> <?php } } if ($donfx == 1) { include_once 'class/TaxFeeOtherChargesClass.php'; $DelNat = new TaxFee(); $strvalues = "naturestatus='A'"; $strwhere = "natureid='{$bcode}'"; $DelNat->UpdateNature($strvalues, $strwhere); } ?> <body onload="javascript: _FRM.searcheenat.focus();"></body> <tr><td colspan=2 class=header2 align=center width=100%>Masterlist of Business Nature</td></tr> <tr> <td colspan=2><br><br> <!--To add new record click here.--> <input type=text name=searcheenat size=20 maxlength=255> <input type = submit name=searchnat value ='Search Nature'><br><br> <input type = submit name=cbut value ='Add New Record'><br><br> <!--LEO RENTON.--> </td> </tr> <tr> <td colspan=2 valign=top align=left><br>