Friday, July 15, 2011

Re: [android-developers] Re: Querying the max value of a column in SQLite For Android.

No, i just execute a query. The result is an cursors which has the index -1.I think is due to a malformed query. Well i guess  i should dig more in SQLite to find the answer. Thank you for reply.

On Fri, Jul 15, 2011 at 3:26 PM, lbendlin <lutz@bendlin.us> wrote:
why are you asking for index -1?  You should ask for the first row which has the index of 0.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment