Well gentlemen... I am an idiot as usually happens in my posts. It is because I did not modify the case option in the UDF.. I was only setting the variable if case =1 I was passing case =0. Thus my returning password problem has been resolved.. now I can work forward with the original one...

Man I hate it when that happens...
_________________________
Austin Henderson