stephenwales
MIS
Are there any good tips for debugging an Access Violation?
I have a form with a DBGrid on it. Users can click a button, be taken to a filters form, define filters and click OK. It then presents data according to the filter specification in the grid. This part generates dynamic SQL for querying against the database
There's also a quick lookup field where it basically does a quick lookup on name by re-executing "where name like "{entered string}%"
From time to time, it generates a randome access violation. If I'm in the IDE when this happens, of course it doesn't take me to the line I have a problem with.
Is there some way to track down Access Violations when they occur?
Thanks
Steve
I have a form with a DBGrid on it. Users can click a button, be taken to a filters form, define filters and click OK. It then presents data according to the filter specification in the grid. This part generates dynamic SQL for querying against the database
There's also a quick lookup field where it basically does a quick lookup on name by re-executing "where name like "{entered string}%"
From time to time, it generates a randome access violation. If I'm in the IDE when this happens, of course it doesn't take me to the line I have a problem with.
Is there some way to track down Access Violations when they occur?
Thanks
Steve