/* Check to make sure we are connected to the database before
allowing access to the home page. If not connected, go connect
and initialize; otherwise, welcome the user.\
*/
if(!database.connected())
redirect("init.htm");
/* The statment below simply deletes the HR Note, indicated by the note_id passed in
as a REQUEST property.
*/
if(request.note_ID != null)
{
project.lock();
database.execute("delete from hr_notes where hr_notes.note_ID = " + request.note_ID);
project.unlock();
}
redirect("admblank.htm");