Thanks for your patients....
I see what I did wrong.... I sent the wrong file...sorry. I think it is something wrong with my db...
It works fine on the one you sent....but when I copy everything exactly it still returns 0.....so I'm not sure what's going on.....I even imported everything over from your db you sent back and its is still doing the same thing.......so who knows....
maybe it some type of setting that is not checked or somthing.....
Thanks anyway.....this is a nightmare:banghead: