Well, I stand corrected there. It's been a while since I programmed with FPC but I remember an issue where parameter passing with date variables raised a type mismatch. It was something with EncodeDate or something and types not compatible with words, if I remember correctly. It's been a while like I said, but I'll be sure to point it out when I come across this issue again.