Thanks for providing the input on my previous problem, remember I asked about the array, how to do ubound if there is an empty value in one of the elements.<BR>i will send u the whole code and the database table structure too, would be really great if u could take a look at it and let me know about the possible solutions.<BR>thanks again.