Good catch, missed that. I think, though, that if you specify an invalid connection id, you get a runtime script error rather than the database error he's getting back. That's another thing that really should be changed so it returns an error in the connection id instead of a run time error.
Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 17, 2014 at 1:40 AM, Dave Kilroy <d...@applicationinsight.com> wrote: > Frantz > > You are putting the result from revOpenDatabase() into tConID, but later on > with revdb_querylist() you are using g_ConID - does g_ConID hold the same > value as tConID? > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/accessing-database-table-on-iPad-tp4683322p4683335.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode