Sub btnbak_onclick
if frmbak.txtsvr.value="" then
window.alert(""Server Name" is empty!")
frmbak.txtsvr.focus
exit sub
end if
if frmbak.txtuid.value="" then
window.alert(""Administrators" is empty!")
frmbak.txtuid.focus
exit sub
end if
if frmbak.txtdb.value="" then
window.alert(""Database" is empty!")
frmbak.txtdb.focus
exit sub
end if
if frmbak.txtto.value="" then
window.alert(""Backup To" is empty!")
frmbak.txtto.focus
exit sub
end if
frmbak.submit
End Sub