SQLite Forum

Finding database file
Login
>  I have accessed the database thru JS but can't get a transaction to work.

I tried to drive my car to the bank.  It didn't work.  Please guess which of the following is the problem:  

(a) I do not own a car  
(b) The car had no gas  
(c) The car had no wheels  
(d) The car had no engine  
(e) The car had no transmission  
(f) The car was at the bottom of a ditch  
(g) The Bank was Closed  
(h) The road was Closed  
(i) One of the Above  
(j) All of the above  
(k) None of the above  
(l) Some of the above  

So let's play 20 questions:

 > The var db contains the version of the database so I am assuming it has been found and is open.

How do you know this?  Have you validated this fact or is it merely a wishful assumption?  What is the procedure you used to validate this assumption and how did that turn out?

 >  I have a breakpoint on the first function statement but that appears to be the failing point. 

What is the error message that causes you to believe this is the failure point?