>Many thanks, I didint know you could run the exe from the command window. But the strange thing with this error is that I dont have any aggregate functions within the SQL, In fact there is only one in the whole program and thats totaly seperate from the area that is giving the error.
>
>Ashley
That's why you need to run the EXE with the debugger. The error message you're receiving may NOT be the correct message, so you need to find the exact line of code that's causing problems. We see that regularly - the message on the error handler screen is NOT the same as the line of code recorded. The latter is the correct place to look.