Query problems

I am trying to use utilities to create a report which will give me
detailed information of a specific vendor for a specific period of time,
but I keep running into a line error. I am using Vendor, apinvhed,
apinvdet. It seems that whether I use the vendor ID = xxxxxx and the
invoice date to be >= 01/01/05 I get an error. The same error occurs if
I link them as apinvhed,apinvdet,vendor and use the date as my initial
condition. Can anyone tell me what I am doing wrong?

[Non-text portions of this message have been removed]