I'm having a problem with a particular query in my delphi app. the query updates are cached and params are being used as well.

I can close, open and post to the query twice before it gives me an address violation error, which then causes the program to crash. I can't seem to find anything that is causing this.