I'll try that. Thanks a lot...
On Feb 2, 5:02 pm, Mark Murphy <[email protected]> wrote: > Immy wrote: > > I am tryin to use a list adapter. > > > While querying, i need to have a column called "_id" which helps to > > scroll through the database. > > > I have an other primary key in this table. Can I use a custom column > > name, or am i bound to the "_id" column. > > There is no way to tell Android to use another column name, AFAIK. > > You might try renaming it in the SQL results: > > SELECT _ID=my_key, ... FROM mytable ... > > I haven't tried that, so I don't know if that will be sufficient. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

