SQLite , waiting for asynchronous execution to finish in

Posted on 2009-04-15
Last Modified: 2013-11-11

I am trying to insert some informations in SQLite db but because i am trying to do that in one for loop, i always get error " Property cannot be changed while SQLStatement.executing is true"  
So i guess that i need to wait for every execution to complete , but not sure how to do it.

This question is related with accepted solution of this question  

Question by:Didica

    Author Comment


    Accepted Solution

    I just can't belive that nobody don't know answer to my question, so i guess that you don't understand what i am asking.

    Lets, be simple.

    Can someone show me how to insert 10 rows in SQlite db whith one while/for loop (which will loop from row 1 to row 10 and insert data every time).
    And then i will adjust code to my needs.  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now