really pleased i got 1.4.0 running on my device, but now my database is not populating the tableviews?
I have been carrying the id to the next tableview via tableView.addEventListener:
win.rowID = e.rowData.id;
I have then used the win.rowID as part of the SQL:
...WHERE BusinessID ="'+win.rowID+'"');
This is working in the simulator but not on the iphone. Im getting undefined?
On iPhone4 if that makes any difference.
guess I just need a more stable way of passing the rowid to the next window.
thanks again you fantastic peeps!
Can you interact with your database at all on the device? Just wondering if perhaps your DB isn't installing or running correctly on the phone. If so, you may wish to ensure you're using the database install method:
var db = Titanium.Database.install('yourDB.db', 'yourDB');
Best of luck. :)
Yep, Its reading the first database call. I have the titanium.database.install on each of the windows. but I think its the passing of the id through to the next window which is not working.
thanks for your response,
What is the best way to drill down to 5 levels with tableviews and sqlite data with 1.4.0 and 4.0 SDK and parss variables across to drill the SQL?
have tried Titanium.App.Properties but its holding information one step ahead of the clicks!