Thanks Alex..but i need a small logic there...If the user did not enter the date and time, then it should take the current system date and time(also in separate lines).Thankx