hi i'm using asp and access database .... what i'm trying to do is to search the database ...the prob i'm having is when the search fails the page is redirected to an error maessage page ...what i would like to do is for it to display an alert message ...could u please help.