>
> times = 
> legacy_db(legacy_db.timesheet_times).select(orderby=legacy_db.timesheet_times.trans_num)
>

legacy_db(legacy_db.timesheet_times)

is a shortcut for: 

legacy_db(legacy_db.timesheet_times._id > 0)

which won't work for keyed tables. So, you have to use the full expanded 
notation:

legacy_db(legacy_db.timesheet_times.trans_num > 0)

Anthony

-- 



Reply via email to