Clyde England wrote: >I have run into a very obscure problem that has me very puzzled. > >I am getting the error "sqlite error 19 constraint failed" but *only* by doing >the following sequence of events. > >It is *only* when I use task switching that I get the error, and it *always* >happens when I switch back to the running application. I have tried switching >at various stages in the insert but the action of switching back to the >application before it has finished doing all the inserts will always produce >the error. Does the "other application" have the same database file open? Does it perform any action on the database? >It is like the action of switching back to the application is causing it to do >something that sqlite does not like. Can you post the code of your application, or a small project which does the same thing and reproduces the error? Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa