You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

93 lines
1.9 KiB

<!--
function clientchanged(objForm) {
document.form2.tstid.selectedIndex = -1;
}
function testchanged(objForm) {
document.form1.clid.selectedIndex = -1;
}
function btn_cupd_click(objThis) {
if (document.form1.clid.selectedIndex==-1) {
alert("You must select a client from the list.");
return false;
} else {
document.form1.dbop.value="cupd";
document.form1.submit();
return true;
}
}
function btn_cnew_click(objThis) {
document.form1.dbop.value="cnew";
document.form1.submit();
}
function btn_cdel_click(objThis) {
if (document.form1.clid.selectedIndex==-1) {
alert("You must select a client from the list.");
return false;
} else {
document.form1.dbop.value="cdel";
document.form1.submit();
return true;
}
}
function btn_tupd_click(objThis) {
if (document.form2.tstid.selectedIndex==-1) {
alert("You must select a test from the list.");
return false;
} else {
document.form2.dbop.value="tupd";
document.form2.submit();
return true;
}
}
function btn_tnew_click(objThis) {
document.form2.dbop.value="tnew";
document.form2.submit();
}
function btn_tdel_click(objThis) {
if (document.form2.tstid.selectedIndex==-1) {
alert("You must select a test from the list.");
return false;
} else {
document.form2.dbop.value="tdel";
document.form2.submit();
return true;
}
}
function btn_dbexec_click(objThis) {
if (document.form4.dbfilepath.value=="") {
alert("You must enter name of the file to edit.");
return false;
} else {
document.form4.dbop.value="dfupd";
document.form4.submit();
return true;
}
}
function btn_csexec_click(objThis) {
document.form6.submit();
return true;
}
function btn_report_click(objThis) {
if (document.form3.rptno.selectedIndex==-1) {
alert("You must select a report from the list.");
return false;
} else {
document.form3.submit();
return true;
}
}
function btn_dlexec_click(objForm) {
objForm.submit();
}
// -->