in reply to Re: Re: Type castingin thread Type casting
First, print you SQL statement to check it looks OK.
Then try it with less requirements to see whether you're asking for an impossible dataset.
Then ummm... I'll get back to you...
clive ;-)