i know how to use loops in vb, but not in plsql. please can you provide me with code that enables the uesr to enter a password just for 3 times, and then get access denied message. If it involves cursors, please explain it to me as i don't understand cursors so well. Thanx