Special sorting
    Thomas Flemming 
    tf at qvgps.com
       
    Mon Mar 25 10:10:09 CDT 2013
    
    
  
Hi,
is there a way to get a cursor sorted by a value, which not directly stored in 
that table, but which can be calculated with an own function from some fields 
of that table?
  cur = db.SqlSelect("SELECT * FROM mytable
                      ORDER BY myfunction(field1,field2)")
Thanks
Tom
-- 
/****************************************
**   Flemming Software Development CC
**   Thomas Flemming
**   PO Box 81244
**   Windhoek, Namibia
**   http://www.quovadis-gps.com
**   mail  tf at qvgps.com
**   +264 (0)81 3329923
**   +49  (0)6182 8492599
***************************************/
    
    
More information about the Valentina
mailing list