hello..

why the sort order doesn't work ? it compiles ok

DataBase.DATE - is long number in the db , it's not working also for
integer and string

String[] projection = {DataBase._ID,DataBase.ID2,DataBase.DESCRIPTION,
DataBase.DATE,
                                DataBase.TYPE_OF_PAYMENT,DataBase.SUM 
,DataBase.REAL_DATE ,
DataBase.PERSON,
        
DataBase.TYPE_OF_EXPENSE,DataBase.FIXED_PAYMENT,DataBase.FIXED_DAYS,DataBase.ISUPDATE};


                        // Get the base URI for the People table in the 
Contacts content
                        // provider.
                        Uri contacts = DataBase.CONTENT_URI;
                        String sort = DataBase.DATE + " DESC";
                        // Make the query.
                        Cursor cur = managedQuery(contacts, projection, null, 
null, sort);
                        return cur;

-- 
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

Reply via email to