$100 via Paypal to help me fix a bug, Exception: column '_id

Offer / request Android-related Jobs.
Search for a team or team-members.

thanks but past

Postby sazabo » Mon Jan 19, 2009 5:59 pm

I moved on from the Content Providers, but thanks I messed around it a forms of "ID" I can't believe someone would write such poor dependent code.

Check out the first pass of my product. "MyMedBox Lite" www.motionPHR.com
thanks for the post.

J :)
sazabo
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Nov 19, 2008 8:04 pm

Top

Postby emooney » Fri Jan 29, 2010 12:45 am

I'm having this problem too but the only time I see it happening is when I use 'GROUP BY' in my sql. If I replace my 'GROUP BY' parameter with a null, it works, but they're not grouped like I need them to be...
emooney
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Jan 26, 2010 11:03 pm

Re: $100 via Paypal to help me fix a bug, Exception: column

Postby richa123 » Fri Jan 07, 2011 11:14 am

while using CursorAdapter you need a field in table _id,otherwise it will give error of no column found _id.
In such case give alias to primary key as _id.and it will work fine....
richa123
Freshman
Freshman
 
Posts: 2
Joined: Wed Aug 18, 2010 1:53 pm

Top
Previous

Return to Jobs / Teams

Who is online

Users browsing this forum: No registered users and 2 guests