Hi, i have a function, but my rowCount don´t count.
db = Ti.Database.open('laBD'); if (NRow!=null){ rows = db.execute('SELECT * FROM Home WHERE Home.Serie = ?',NRow); NRegistros=rows.rowCount; if (NRegistros!=0){ db.execute('DELETE FROM Home WHERE Home.Serie = ?',NRow); } }sometimes NRegistros=0 when i know there is a register with Serie=NRow
Why???
Thanks